freebsd-dev/sys/i386/boot/kzipboot/tail.S
Peter Wemm c196603b4d Part 2 of the overlapping kzip changes.
Submitted by:	Gary Jones(?) <gj@freefall>
1995-10-06 02:57:26 +00:00

13 lines
321 B
ArmAsm

/*
* Boot unpacker startup routine.
* Copyright (C) Serge Vakulenko
*/
.text
.globl start
start:
popl %eax # remove return addr
pushl 4(%esp) # pass howto arg
call _boot # unpack the kernel image
popl %eax # discard howto arg
ljmp $CSEG, $KADDR # jump to unpacked kernel