Added Linux bzImage support.

This commit is contained in:
erich 1998-08-20 21:01:11 +00:00
parent ae07073cec
commit d72f916818
1 changed files with 6 additions and 5 deletions

View File

@ -61,7 +61,7 @@ ENTRY(start)
. = EXT_C(start) + 0x8
VARIABLE(install_partition)
.long 0xFF00FF
.long 0x020000
VARIABLE(version_string)
.string "0.5"
VARIABLE(config_file)
@ -976,12 +976,8 @@ ENTRY(patch_code_end)
ENTRY(linux_boot)
/* don't worry about saving anything, we're committed at this point */
call EXT_C(stop_floppy)
cld /* forward copying */
/* XXX new stack pointer in safe area for calling functions */
movl $0x4000, %esp
/* copy kernel */
movl $LINUX_SETUP, %eax
movl LINUX_KERNEL_LEN_OFFSET(%eax), %ecx
@ -992,6 +988,11 @@ ENTRY(linux_boot)
rep
movsl
ENTRY(big_linux_boot)
/* XXX new stack pointer in safe area for calling functions */
movl $0x4000, %esp
call EXT_C(stop_floppy)
/* final setup for linux boot */
movw $LINUX_SETUP_SEG, %ax