* grub-core/kern/i386/realmode.S: Increase alignment.

* grub-core/boot/i386/pc/startup_raw.S: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-15 19:17:36 +01:00
parent ee9c2e7a97
commit b81d609e4c
2 changed files with 4 additions and 3 deletions

View file

@ -341,6 +341,6 @@ gate_a20_check_state:
#include "lzma_decode.S"
#endif
.p2align 2
.p2align 4
LOCAL(decompressor_end):

View file

@ -46,7 +46,7 @@
* This is the area for all of the special variables.
*/
.p2align 2 /* force 4-byte alignment */
.p2align 5 /* force 4-byte alignment */
protstack:
.long GRUB_MEMORY_MACHINE_PROT_STACK
@ -79,7 +79,7 @@ protstack:
* description.
*/
.p2align 2 /* force 4-byte alignment */
.p2align 5 /* force 4-byte alignment */
gdt:
.word 0, 0
.byte 0, 0, 0, 0
@ -113,6 +113,7 @@ gdt:
.byte 0, 0x92, 0, 0
.p2align 5
/* this is the GDT descriptor */
gdtdesc:
.word 0x27 /* limit */