File:  [Plan 9 NeXT] / lucent / sys / src / 9 / pc / initcode
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:01:02 2018 UTC (8 years, 1 month ago) by root
Branches: lucent, MAIN
CVS tags: plan9, HEAD
Plan 9 NeXT

#include "/sys/src/libc/9syscall/sys.h"

TEXT	main(SB),$0

	/*
	 *  exec("/boot", bootv)
	 */
	LEAL	4(SP),AX
	PUSHL	AX
	LEAL	boot(SB),AX
	PUSHL	AX
	PUSHL	$0
	MOVL	$EXEC,AX
	INT	$64

	/*
	 *  should never get here
	 */
here:
	JMP	here

GLOBL	boot+0(SB),$6
DATA	boot+0(SB)/5,$"/boot"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.