Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 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"