Commit | Line | Data |
---|---|---|
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 | ||
47 | warning off | |
48 | ||
49 | only forth also definitions | |
50 | ||
51 | decimal | |
52 | ||
53 | true value command-completion? | |
54 | ||
55 | fload ${BP}/fm/lib/copyrigh.fth | |
56 | ||
57 | fload ${BP}/fm/lib/transien.fth | |
58 | decimal limit origin- 5 / aligned 1000 set-transize | |
59 | ||
60 | fload ${BP}/fm/lib/headless.fth | |
61 | fload ${BP}/fm/lib/brackif.fth | |
62 | ||
63 | transient fload ${BP}/fm/kernel/sparc/loadsyms.fth resident | |
64 | ||
65 | ||
66 | \ \dtc 64\ fload ${BP}/os/unix/simforth/findnext.fth | |
67 | ||
68 | transient fload ${BP}/fm/lib/stubs.fth resident | |
69 | \ for filetool.fth and alias.fth | |
70 | ||
71 | fload ${BP}/fm/lib/filetool.fth | |
72 | \ needed for dispose, savefort.fth | |
73 | ||
74 | transient fload ${BP}/fm/lib/dispose.fth resident | |
75 | transient fload ${BP}/fm/lib/showspac.fth resident | |
76 | fload ${BP}/fm/lib/chains.fth | |
77 | : headerless0 headers ; | |
78 | ||
79 | headers | |
80 | ||
81 | fload ${BP}/fm/lib/th.fth | |
82 | fload ${BP}/fm/lib/patch.fth | |
83 | \ fload ${BP}/fm/kernel/hashcach.fth \ FIND CACHE | |
84 | fload ${BP}/fm/lib/strings.fth | |
85 | fload ${BP}/fm/lib/suspend.fth | |
86 | fload ${BP}/fm/lib/util.fth | |
87 | fload ${BP}/fm/lib/format.fth | |
88 | ||
89 | fload ${BP}/fm/lib/cirstack.fth | |
90 | fload ${BP}/fm/lib/pseudors.fth | |
91 | fload ${BP}/fm/lib/headtool.fth | |
92 | fload ${BP}/fm/lib/needs.fth | |
93 | fload ${BP}/fm/lib/stringar.fth | |
94 | ||
95 | fload ${BP}/fm/lib/split.fth | |
96 | ||
97 | fload ${BP}/fm/lib/dump.fth | |
98 | fload ${BP}/fm/lib/words.fth | |
99 | fload ${BP}/fm/lib/decomp.fth | |
100 | ||
101 | fload ${BP}/fm/lib/seechain.fth | |
102 | fload ${BP}/fm/lib/loadedit.fth | |
103 | ||
104 | fload ${BP}/fm/lib/caller.fth | |
105 | fload ${BP}/fm/lib/callfind.fth | |
106 | fload ${BP}/fm/lib/substrin.fth | |
107 | fload ${BP}/fm/lib/sift.fth | |
108 | ||
109 | fload ${BP}/fm/lib/array.fth | |
110 | fload ${BP}/fm/lib/linklist.fth | |
111 | fload ${BP}/fm/lib/initsave.fth | |
112 | ||
113 | fload ${BP}/cpu/sparc/assem.fth | |
114 | fload ${BP}/cpu/sparc/code.fth | |
115 | fload ${BP}/cpu/sparc/asmmacro.fth | |
116 | fload ${BP}/fm/lib/loclabel.fth | |
117 | fload ${BP}/cpu/sparc/disforw.fth | |
118 | fload ${BP}/cpu/sparc/ultra/impldis.fth | |
119 | fload ${BP}/fm/lib/instdis.fth | |
120 | fload ${BP}/fm/lib/sparc/decompm.fth | |
121 | fload ${BP}/os/stand/sparc/notmeta.fth | |
122 | fload ${BP}/fm/lib/sparc/bitops.fth | |
123 | ||
124 | fload ${BP}/fm/cwrapper/binhdr.fth | |
125 | fload ${BP}/fm/cwrapper/sparc/savefort.fth | |
126 | fload ${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 | ||
131 | fload ${BP}/fm/lib/debug.fth | |
132 | ||
133 | 32\ fload ${BP}/cpu/sparc/traps.fth | |
134 | 64\ fload ${BP}/cpu/sparc/traps9.fth | |
135 | ||
136 | fload ${BP}/fm/lib/sparc/objsup.fth | |
137 | fload ${BP}/fm/lib/objects.fth | |
138 | fload ${BP}/cpu/sparc/cpustate.fth | |
139 | ||
140 | 32\ fload ${BP}/cpu/sparc/register.fth | |
141 | 64\ fload ${BP}/cpu/sparc/register9.fth | |
142 | ||
143 | ||
144 | fload ${BP}/fm/lib/savedstk.fth | |
145 | fload ${BP}/fm/lib/rstrace.fth | |
146 | fload ${BP}/fm/lib/sparc/ftrace.fth | |
147 | ||
148 | 32\ fload ${BP}/fm/lib/sparc/ctrace.fth | |
149 | 64\ fload ${BP}/fm/lib/sparc/ctrace9.fth | |
150 | ||
151 | fload ${BP}/fm/lib/sparc/cpubpsup.fth | |
152 | fload ${BP}/fm/lib/breakpt.fth | |
153 | ||
154 | fload ${BP}/cpu/sparc/call.fth | |
155 | ||
156 | headerless | |
157 | alias lretval retval | |
158 | fload ${BP}/os/sun/sparc/signal.fth | |
159 | fload ${BP}/os/sun/sparc/catchexc.fth | |
160 | fload ${BP}/os/unix/sparc/arcbpsup.fth | |
161 | ||
162 | fload ${BP}/fm/lib/version.fth | |
163 | ||
164 | headers | |
165 | alias lvariable variable | |
166 | : unix-init-io ( -- ) unix-init-io ; | |
167 | : unix-init ( -- ) unix-init ; | |
168 | : init ( -- ) init ; | |
169 | ||
170 | dispose 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 |