freebsd_amp_hwpstate/sys/i386/boot/kzipboot/tail.S

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