mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
i386BootDrive and i386BootPartition are ULONGs, and before saving a byte value they must be zeroed.
Thanks to Magnus for identifying the problem. svn path=/trunk/; revision=24848
This commit is contained in:
@@ -46,6 +46,11 @@ EXTERN(RealEntryPoint)
|
||||
|
||||
.code32
|
||||
|
||||
/* Zero i386BootDrive and i386BootPartition */
|
||||
xorl %eax,%eax
|
||||
movl %eax,(_i386BootDrive)
|
||||
movl %eax,(_i386BootPartition)
|
||||
|
||||
/* Store the boot drive */
|
||||
movb %dl,(_i386BootDrive)
|
||||
|
||||
@@ -53,7 +58,6 @@ EXTERN(RealEntryPoint)
|
||||
movb %dh,(_i386BootPartition)
|
||||
|
||||
/* GO! */
|
||||
xorl %eax,%eax
|
||||
pushl %eax
|
||||
call _BootMain
|
||||
|
||||
|
||||
Reference in New Issue
Block a user