4061e47297
Submitted by: DI. Christian Gusenbauer <cg@scotty.edvz.uni-linz.ac.at> The `howto' arg to boot() was not supplied, so it was stack garbage (actually the return address in the boot program). I didn't use the submitted fix.
13 lines
387 B
ArmAsm
13 lines
387 B
ArmAsm
/*
|
|
* Boot unpacker startup routine.
|
|
* Copyright (C) Serge Vakulenko
|
|
*/
|
|
.text
|
|
start:
|
|
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
|
|
. = start + 0x500 # skip over warm boot shit
|