]> git.lizzy.rs Git - plan9front.git/blob - sys/src/9/pc/initcode.s
pc, pc64: more conservative pcirouting
[plan9front.git] / sys / src / 9 / 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"