]> git.proxmox.com Git - grub2.git/commitdiff
* include/grub/i386/pc/memory.h: Decrease
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Nov 2013 11:02:00 +0000 (12:02 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Nov 2013 11:02:00 +0000 (12:02 +0100)
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.

ChangeLog
include/grub/i386/pc/memory.h

index f9e7a4b6baba3af25233922e6368d10fe1bd887a..4e74e3eb3af63ec6f32d0b6bf076f15982050bd5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-11-22  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * 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  <phcoder@gmail.com>
 
        * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Ensure
index 401c837faeb47628195263b802ea7c1b7f303dd3..095c6525d00d35c99300571cef649f1bb9b48b63 100644 (file)
 /* 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 \