size calculation.
* grub-core/kern/i386/realmode.S (realidt): Assume default BIOS IDT if
none is known.
+2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/boot/i386/pc/startup_raw.S (multiboot_trampoline): Fix
+ size calculation.
+ * grub-core/kern/i386/realmode.S (realidt): Assume default BIOS IDT if
+ none is known.
+
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/net.c (grub_net_addr_to_str): Don't translate
movl %ebp, %esp
/* relocate the code */
- movl $(LOCAL(decompressor_end) + 0x200), %ecx
+ movl $(LOCAL(decompressor_end) - _start + 0x200), %ecx
addl LOCAL(compressed_size) - _start + 0x100000 + 0x200, %ecx
movl $0x100000, %esi
movl $GRUB_BOOT_MACHINE_KERNEL_ADDR, %edi
.word 0x27 /* limit */
.long gdt /* addr */
LOCAL(realidt):
- .word 0
+ .word 0x400
.long 0
protidt:
.word 0