fix a serious bug in the Linux zImage support.
This commit is contained in:
parent
77219c6e56
commit
8d3a5e79b9
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2000-07-29 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
The Linux zImage support is working now.
|
||||
|
||||
* stage2/asm.S (linux_boot): Add 3 into %ecx and shift %ecx to
|
||||
the right by 2 bits, instead of shift %ecx to the left by 2
|
||||
bits.
|
||||
|
||||
2000-07-29 Jochen Hoenicke <jochen@gnu.org>
|
||||
|
||||
* stage2/fsys_reiserfs.c (block_read): Changed the variable "len"
|
||||
|
|
|
@ -1698,7 +1698,8 @@ ENTRY(linux_boot)
|
|||
|
||||
/* copy kernel */
|
||||
movl EXT_C(linux_text_len), %ecx
|
||||
shll $2, %ecx
|
||||
addl $3, %ecx
|
||||
shrl $2, %ecx
|
||||
movl $LINUX_STAGING_AREA, %esi
|
||||
movl $LINUX_KERNEL, %edi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue