freebsd-dev/sys/i386/boot/kzipboot/tail.S
Bruce Evans 92b86cc420 Removed bogus padding that wasted 0x500 bytes.
Improved code and comments.  Don't do anything except transfer control
in the head.o module.
1995-11-18 05:25:24 +00:00

13 lines
283 B
ArmAsm

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