mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/kern/i386/realmode.S: Increase alignment.
* grub-core/boot/i386/pc/startup_raw.S: Likewise.
This commit is contained in:
1 parent
ee9c2e7a97
commit
b81d609e4c
2 files changed
+4
-3
No files matched your search
@@ -341,6 +341,6 @@ gate_a20_check_state:
|
|||||||
#include "lzma_decode.S"
|
#include "lzma_decode.S"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
.p2align 2
|
.p2align 4
|
||||||
|
|
||||||
LOCAL(decompressor_end):
|
LOCAL(decompressor_end):
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
* This is the area for all of the special variables.
|
* This is the area for all of the special variables.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.p2align 2 /* force 4-byte alignment */
|
.p2align 5 /* force 4-byte alignment */
|
||||||
|
|
||||||
protstack:
|
protstack:
|
||||||
.long GRUB_MEMORY_MACHINE_PROT_STACK
|
.long GRUB_MEMORY_MACHINE_PROT_STACK
|
||||||
@@ -79,7 +79,7 @@ protstack:
|
|||||||
* description.
|
* description.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.p2align 2 /* force 4-byte alignment */
|
.p2align 5 /* force 4-byte alignment */
|
||||||
gdt:
|
gdt:
|
||||||
.word 0, 0
|
.word 0, 0
|
||||||
.byte 0, 0, 0, 0
|
.byte 0, 0, 0, 0
|
||||||
@@ -113,6 +113,7 @@ gdt:
|
|||||||
.byte 0, 0x92, 0, 0
|
.byte 0, 0x92, 0, 0
|
||||||
|
|
||||||
|
|
||||||
|
.p2align 5
|
||||||
/* this is the GDT descriptor */
|
/* this is the GDT descriptor */
|
||||||
gdtdesc:
|
gdtdesc:
|
||||||
.word 0x27 /* limit */
|
.word 0x27 /* limit */
|
||||||
|
|||||||
Reference in new issue
Block a user