FreeBSD/Linux Kernel Cross Reference
sys/pc/initcode.s
1 #include "/sys/src/libc/9syscall/sys.h"
2
3 TEXT main(SB),$0
4
5 /*
6 * exec("/boot", bootv)
7 */
8 LEAL 4(SP),AX
9 PUSHL AX
10 LEAL boot(SB),AX
11 PUSHL AX
12 PUSHL $0
13 MOVL $EXEC,AX
14 INT $64
15
16 /*
17 * should never get here
18 */
19 here:
20 JMP here
21
22 GLOBL boot+0(SB),$6
23 DATA boot+0(SB)/5,$"/boot"
Cache object: 2e3b787f672405c96a3c08949edd71e5
|