Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | ; Should check to make sure something useful gets put on those .word |
2 | ; statements. | |
cb63de9b | 3 | .code |
252b5132 RH |
4 | |
5 | .align 8 | |
6 | .export icode,data | |
7 | icode: | |
8 | .proc | |
9 | .callinfo frame=0,no_calls | |
10 | .entry | |
11 | bv,n %r0(%r2) | |
12 | .exit | |
13 | nop | |
14 | .procend | |
15 | ||
16 | ; | |
17 | ; FIRST, argv array of pointers to args, 1st is same as path. | |
18 | ; | |
19 | .align 8 | |
20 | ic_argv: | |
21 | .word ic_argv1-icode ; second, pointer to 1st argument | |
22 | .word ic_path-icode ; first, pointer to init path | |
23 | .word 0 ; fourth, NULL argv terminator (pad) | |
24 | .word 0 ; third, NULL argv terminator | |
25 | ||
26 | ic_path: | |
27 | .blockz 4096 ; must be multiple of 4 bytes | |
28 | .word 0 ; in case full string is used | |
29 | .word 0 ; this will be the string terminator | |
30 | ||
31 | ic_argv1: | |
32 | .blockz 4096 ; must be multiple of 4 bytes | |
33 | .word 0 ; in case full string is used | |
34 | .word 0 ; this will be the string terminator | |
35 | ||
36 | .export szicode,data | |
37 | szicode: | |
38 | .word szicode-icode | |
39 | .word 0 ; must have at least one filler at end |