mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* 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.
This commit is contained in:
1 parent
55b20e588c
commit
52bfedfa39
3 files changed
+9
-2
No files matched your search
@@ -1,3 +1,10 @@
|
|||||||
|
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>
|
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/net/net.c (grub_net_addr_to_str): Don't translate
|
* grub-core/net/net.c (grub_net_addr_to_str): Don't translate
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ multiboot_entry:
|
|||||||
movl %ebp, %esp
|
movl %ebp, %esp
|
||||||
|
|
||||||
/* relocate the code */
|
/* relocate the code */
|
||||||
movl $(LOCAL(decompressor_end) + 0x200), %ecx
|
movl $(LOCAL(decompressor_end) - _start + 0x200), %ecx
|
||||||
addl LOCAL(compressed_size) - _start + 0x100000 + 0x200, %ecx
|
addl LOCAL(compressed_size) - _start + 0x100000 + 0x200, %ecx
|
||||||
movl $0x100000, %esi
|
movl $0x100000, %esi
|
||||||
movl $GRUB_BOOT_MACHINE_KERNEL_ADDR, %edi
|
movl $GRUB_BOOT_MACHINE_KERNEL_ADDR, %edi
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ gdtdesc:
|
|||||||
.word 0x27 /* limit */
|
.word 0x27 /* limit */
|
||||||
.long gdt /* addr */
|
.long gdt /* addr */
|
||||||
LOCAL(realidt):
|
LOCAL(realidt):
|
||||||
.word 0
|
.word 0x400
|
||||||
.long 0
|
.long 0
|
||||||
protidt:
|
protidt:
|
||||||
.word 0
|
.word 0
|
||||||
|
|||||||
Reference in new issue
Block a user