* grub-core/lib/i386/relocator16.S: Fix incorrect use of absolute

address.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-10 14:47:06 +01:00
parent 29a3550b61
commit 37bb97fe9a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/i386/relocator16.S: Fix incorrect use of absolute
address.
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel):

View file

@ -105,7 +105,7 @@ VARIABLE(grub_relocator16_keep_a20_enabled)
movw %cs, %ax
movw %ax, %ss
leaw EXT_C(grub_relocator16_end) + GRUB_RELOCATOR16_STACK_SIZE, %sp
leaw EXT_C(grub_relocator16_end) - LOCAL(base) + GRUB_RELOCATOR16_STACK_SIZE, %sp
/* second, try a BIOS call */
movw $0x2400, %ax