diff --git a/ChangeLog b/ChangeLog index f9e7a4b6b..4e74e3eb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2013-11-22 Vladimir Serbinenko + + * include/grub/i386/pc/memory.h: Decrease + GRUB_MEMORY_MACHINE_SCRATCH_SIZE and increase + GRUB_MEMORY_MACHINE_PROT_STACK_SIZE. + The binary doesn't change (checked). It's more to better reflect actual + usage. + 2013-11-22 Vladimir Serbinenko * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Ensure diff --git a/include/grub/i386/pc/memory.h b/include/grub/i386/pc/memory.h index 401c837fa..095c6525d 100644 --- a/include/grub/i386/pc/memory.h +++ b/include/grub/i386/pc/memory.h @@ -34,13 +34,13 @@ /* The scratch buffer used in real mode code. */ #define GRUB_MEMORY_MACHINE_SCRATCH_ADDR 0x68000 #define GRUB_MEMORY_MACHINE_SCRATCH_SEG (GRUB_MEMORY_MACHINE_SCRATCH_ADDR >> 4) -#define GRUB_MEMORY_MACHINE_SCRATCH_SIZE 0x10000 +#define GRUB_MEMORY_MACHINE_SCRATCH_SIZE 0x9000 /* The real mode stack. */ #define GRUB_MEMORY_MACHINE_REAL_STACK (0x2000 - 0x10) /* The size of the protect mode stack. */ -#define GRUB_MEMORY_MACHINE_PROT_STACK_SIZE 0x8000 +#define GRUB_MEMORY_MACHINE_PROT_STACK_SIZE 0xf000 /* The protected mode stack. */ #define GRUB_MEMORY_MACHINE_PROT_STACK \