Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / obp / obp / os / sun / sparc / loadutil.fth
CommitLineData
920dae64
AT
1\ ========== Copyright Header Begin ==========================================
2\
3\ Hypervisor Software File: loadutil.fth
4\
5\ Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
6\
7\ - Do no alter or remove copyright notices
8\
9\ - Redistribution and use of this software in source and binary forms, with
10\ or without modification, are permitted provided that the following
11\ conditions are met:
12\
13\ - Redistribution of source code must retain the above copyright notice,
14\ this list of conditions and the following disclaimer.
15\
16\ - Redistribution in binary form must reproduce the above copyright notice,
17\ this list of conditions and the following disclaimer in the
18\ documentation and/or other materials provided with the distribution.
19\
20\ Neither the name of Sun Microsystems, Inc. or the names of contributors
21\ may be used to endorse or promote products derived from this software
22\ without specific prior written permission.
23\
24\ This software is provided "AS IS," without a warranty of any kind.
25\ ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
26\ INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
27\ PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN
28\ MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR
29\ ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
30\ DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN
31\ OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR
32\ FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
33\ DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
34\ ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF
35\ SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
36\
37\ You acknowledge that this software is not designed, licensed or
38\ intended for use in the design, construction, operation or maintenance of
39\ any nuclear facility.
40\
41\ ========== Copyright Header End ============================================
42\ id: @(#)loadutil.fth 2.30 03/12/11 09:22:53
43\ purpose: to make forth.exe
44\ copyright: Copyright 1991-2003 Sun Microsystems, Inc. All Rights Reserved
45\ copyright: Use is subject to license terms.
46
47warning off
48
49only forth also definitions
50
51decimal
52
53true value command-completion?
54
55fload ${BP}/fm/lib/copyrigh.fth
56
57fload ${BP}/fm/lib/transien.fth
58decimal limit origin- 5 / aligned 1000 set-transize
59
60fload ${BP}/fm/lib/headless.fth
61fload ${BP}/fm/lib/brackif.fth
62
63transient fload ${BP}/fm/kernel/sparc/loadsyms.fth resident
64
65
66\ \dtc 64\ fload ${BP}/os/unix/simforth/findnext.fth
67
68transient fload ${BP}/fm/lib/stubs.fth resident
69 \ for filetool.fth and alias.fth
70
71fload ${BP}/fm/lib/filetool.fth
72 \ needed for dispose, savefort.fth
73
74transient fload ${BP}/fm/lib/dispose.fth resident
75transient fload ${BP}/fm/lib/showspac.fth resident
76fload ${BP}/fm/lib/chains.fth
77: headerless0 headers ;
78
79headers
80
81fload ${BP}/fm/lib/th.fth
82fload ${BP}/fm/lib/patch.fth
83\ fload ${BP}/fm/kernel/hashcach.fth \ FIND CACHE
84fload ${BP}/fm/lib/strings.fth
85fload ${BP}/fm/lib/suspend.fth
86fload ${BP}/fm/lib/util.fth
87fload ${BP}/fm/lib/format.fth
88
89fload ${BP}/fm/lib/cirstack.fth
90fload ${BP}/fm/lib/pseudors.fth
91fload ${BP}/fm/lib/headtool.fth
92fload ${BP}/fm/lib/needs.fth
93fload ${BP}/fm/lib/stringar.fth
94
95fload ${BP}/fm/lib/split.fth
96
97fload ${BP}/fm/lib/dump.fth
98fload ${BP}/fm/lib/words.fth
99fload ${BP}/fm/lib/decomp.fth
100
101fload ${BP}/fm/lib/seechain.fth
102fload ${BP}/fm/lib/loadedit.fth
103
104fload ${BP}/fm/lib/caller.fth
105fload ${BP}/fm/lib/callfind.fth
106fload ${BP}/fm/lib/substrin.fth
107fload ${BP}/fm/lib/sift.fth
108
109fload ${BP}/fm/lib/array.fth
110fload ${BP}/fm/lib/linklist.fth
111fload ${BP}/fm/lib/initsave.fth
112
113fload ${BP}/cpu/sparc/assem.fth
114fload ${BP}/cpu/sparc/code.fth
115fload ${BP}/cpu/sparc/asmmacro.fth
116fload ${BP}/fm/lib/loclabel.fth
117fload ${BP}/cpu/sparc/disforw.fth
118fload ${BP}/cpu/sparc/ultra/impldis.fth
119fload ${BP}/fm/lib/instdis.fth
120fload ${BP}/fm/lib/sparc/decompm.fth
121fload ${BP}/os/stand/sparc/notmeta.fth
122fload ${BP}/fm/lib/sparc/bitops.fth
123
124fload ${BP}/fm/cwrapper/binhdr.fth
125fload ${BP}/fm/cwrapper/sparc/savefort.fth
126fload ${BP}/cpu/sparc/doccall.fth
127
128\t16 fload ${BP}/fm/lib/sparc/debugm16.fth
129\t32 fload ${BP}/fm/lib/sparc/debugm.fth
130
131fload ${BP}/fm/lib/debug.fth
132
13332\ fload ${BP}/cpu/sparc/traps.fth
13464\ fload ${BP}/cpu/sparc/traps9.fth
135
136fload ${BP}/fm/lib/sparc/objsup.fth
137fload ${BP}/fm/lib/objects.fth
138fload ${BP}/cpu/sparc/cpustate.fth
139
14032\ fload ${BP}/cpu/sparc/register.fth
14164\ fload ${BP}/cpu/sparc/register9.fth
142
143
144fload ${BP}/fm/lib/savedstk.fth
145fload ${BP}/fm/lib/rstrace.fth
146fload ${BP}/fm/lib/sparc/ftrace.fth
147
14832\ fload ${BP}/fm/lib/sparc/ctrace.fth
14964\ fload ${BP}/fm/lib/sparc/ctrace9.fth
150
151fload ${BP}/fm/lib/sparc/cpubpsup.fth
152fload ${BP}/fm/lib/breakpt.fth
153
154fload ${BP}/cpu/sparc/call.fth
155
156headerless
157alias lretval retval
158fload ${BP}/os/sun/sparc/signal.fth
159fload ${BP}/os/sun/sparc/catchexc.fth
160fload ${BP}/os/unix/sparc/arcbpsup.fth
161
162fload ${BP}/fm/lib/version.fth
163
164headers
165alias lvariable variable
166: unix-init-io ( -- ) unix-init-io ;
167: unix-init ( -- ) unix-init ;
168: init ( -- ) init ;
169
170dispose 0 0 set-transize
171
172[ifndef] dic-file-name
173-1 abort" ERROR: dic-file-name is not defined, Can't save"
174[then]
175[defined] dic-file-name dup 1+ alloc-mem pack save-forth