From 9811c39250d3598b02b7f39bbec5a51c803f8f6a Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 20 Aug 2009 09:15:11 +0000 Subject: Use .p2align directive instead of ambiguous .align directive. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9164 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/efi32.S | 2 +- DuetPkg/BootSector/efi64.S | 2 +- DuetPkg/BootSector/st16_64.S | 10 +++++----- DuetPkg/BootSector/st32_64.S | 10 +++++----- DuetPkg/BootSector/start.S | 10 +++++----- DuetPkg/BootSector/start16.S | 10 +++++----- DuetPkg/BootSector/start32.S | 10 +++++----- DuetPkg/BootSector/start64.S | 10 +++++----- 8 files changed, 32 insertions(+), 32 deletions(-) (limited to 'DuetPkg/BootSector') diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S index 5ec466c43e..f21ff84384 100644 --- a/DuetPkg/BootSector/efi32.S +++ b/DuetPkg/BootSector/efi32.S @@ -153,7 +153,7 @@ EfiLdrOffset: ret # db "**** DEFAULT IDT ENTRY ***",0 - .align 0x2 + .p2align 1 Halt: INT0: pushl $0x0 # push error code place holder on the stack diff --git a/DuetPkg/BootSector/efi64.S b/DuetPkg/BootSector/efi64.S index fcf785029f..57efe587e4 100644 --- a/DuetPkg/BootSector/efi64.S +++ b/DuetPkg/BootSector/efi64.S @@ -177,7 +177,7 @@ EfiLdrOffset: .byte 0xc3 # db "**** DEFAULT IDT ENTRY ***",0 - .align 0x2 + .p2align 1 Halt: INT0: pushl $0x0 # push error code place holder on the stack diff --git a/DuetPkg/BootSector/st16_64.S b/DuetPkg/BootSector/st16_64.S index d9d5d69600..d68613b1b6 100644 --- a/DuetPkg/BootSector/st16_64.S +++ b/DuetPkg/BootSector/st16_64.S @@ -580,7 +580,7 @@ Empty8042Loop: # data ############################################################################## - .align 0x2 + .p2align 1 gdtr: .long GDT_END - GDT_BASE - 1 # GDT limit .long 0 # (GDT base gets set above) @@ -588,7 +588,7 @@ Empty8042Loop: # global descriptor table (GDT) ############################################################################## - .align 0x2 + .p2align 1 GDT_BASE: # null descriptor @@ -678,7 +678,7 @@ GDT_BASE: GDT_END: - .align 0x2 + .p2align 1 @@ -695,7 +695,7 @@ idtr: .long IDT_END - IDT_BASE - 1 # IDT limit ############################################################################## #idt_tag db "IDT",0 - .align 0x2 + .p2align 1 IDT_BASE: @@ -1064,7 +1064,7 @@ IDT_BASE: IDT_END: - .align 0x2 + .p2align 1 MemoryMapSize: .long 0 MemoryMap: .long 0,0,0,0,0,0,0,0 diff --git a/DuetPkg/BootSector/st32_64.S b/DuetPkg/BootSector/st32_64.S index 6756a663db..747289b211 100644 --- a/DuetPkg/BootSector/st32_64.S +++ b/DuetPkg/BootSector/st32_64.S @@ -595,7 +595,7 @@ Empty8042Loop: # data ############################################################################## - .align 0x2 + .p2align 1 gdtr: .long GDT_END - GDT_BASE - 1 # GDT limit .long 0 # (GDT base gets set above) @@ -603,7 +603,7 @@ Empty8042Loop: # global descriptor table (GDT) ############################################################################## - .align 0x2 + .p2align 1 GDT_BASE: # null descriptor @@ -693,7 +693,7 @@ GDT_BASE: GDT_END: - .align 0x2 + .p2align 1 @@ -710,7 +710,7 @@ idtr: .long IDT_END - IDT_BASE - 1 # IDT limit ############################################################################## #idt_tag db "IDT",0 - .align 0x2 + .p2align 1 IDT_BASE: @@ -1079,7 +1079,7 @@ IDT_BASE: IDT_END: - .align 0x2 + .p2align 1 MemoryMapSize: .long 0 MemoryMap: .long 0,0,0,0,0,0,0,0 diff --git a/DuetPkg/BootSector/start.S b/DuetPkg/BootSector/start.S index 706def4929..177e9ae82e 100644 --- a/DuetPkg/BootSector/start.S +++ b/DuetPkg/BootSector/start.S @@ -450,7 +450,7 @@ Empty8042Loop: # data ############################################################################## - .align 0x2 + .p2align 1 gdtr: .long GDT_END - GDT_BASE - 1 # GDT limit .long 0 # (GDT base gets set above) @@ -458,7 +458,7 @@ Empty8042Loop: # global descriptor table (GDT) ############################################################################## - .align 0x2 + .p2align 1 GDT_BASE: # null descriptor @@ -535,7 +535,7 @@ GDT_BASE: GDT_END: - .align 0x2 + .p2align 1 @@ -551,7 +551,7 @@ idtr: .long IDT_END - IDT_BASE - 1 # IDT limit ############################################################################## #idt_tag db "IDT",0 - .align 0x2 + .p2align 1 IDT_BASE: # divide by zero (INT 0) @@ -847,7 +847,7 @@ IDT_BASE: IDT_END: - .align 0x2 + .p2align 1 MemoryMapSize: .long 0 MemoryMap: .long 0,0,0,0,0,0,0,0 diff --git a/DuetPkg/BootSector/start16.S b/DuetPkg/BootSector/start16.S index 13fefb2129..014ce8cdcd 100644 --- a/DuetPkg/BootSector/start16.S +++ b/DuetPkg/BootSector/start16.S @@ -444,7 +444,7 @@ Empty8042Loop: # data ############################################################################## - .align 0x2 + .p2align 1 gdtr: .word GDT_END - GDT_BASE - 1 # GDT limit .long 0 # (GDT base gets set above) @@ -452,7 +452,7 @@ gdtr: .word GDT_END - GDT_BASE - 1 # GDT limit # global descriptor table (GDT) ############################################################################## - .align 0x2 + .p2align 1 GDT_BASE: # null descriptor @@ -529,7 +529,7 @@ GDT_BASE: GDT_END: - .align 0x2 + .p2align 1 @@ -545,7 +545,7 @@ idtr: .word IDT_END - IDT_BASE - 1 # IDT limit ############################################################################## #idt_tag db "IDT",0 - .align 0x2 + .p2align 1 IDT_BASE: # divide by zero (INT 0) @@ -841,7 +841,7 @@ IDT_BASE: IDT_END: - .align 0x2 + .p2align 1 MemoryMapSize: .long 0 MemoryMap: .long 0,0,0,0,0,0,0,0 diff --git a/DuetPkg/BootSector/start32.S b/DuetPkg/BootSector/start32.S index c8faf266df..55b274b8df 100644 --- a/DuetPkg/BootSector/start32.S +++ b/DuetPkg/BootSector/start32.S @@ -459,7 +459,7 @@ Empty8042Loop: # data ############################################################################## - .align 0x2 + .p2align 1 gdtr: .word GDT_END - GDT_BASE - 1 .long 0 # (GDT base gets set above) @@ -467,7 +467,7 @@ gdtr: .word GDT_END - GDT_BASE - 1 # global descriptor table (GDT) ############################################################################## - .align 0x2 + .p2align 1 GDT_BASE: # null descriptor @@ -544,7 +544,7 @@ GDT_BASE: GDT_END: - .align 0x2 + .p2align 1 @@ -560,7 +560,7 @@ idtr: .word IDT_END - IDT_BASE - 1 ############################################################################## #idt_tag db "IDT",0 - .align 0x2 + .p2align 1 IDT_BASE: # divide by zero (INT 0) @@ -856,7 +856,7 @@ IDT_BASE: IDT_END: - .align 0x2 + .p2align 1 MemoryMapSize: .long 0 MemoryMap: .long 0,0,0,0,0,0,0,0 diff --git a/DuetPkg/BootSector/start64.S b/DuetPkg/BootSector/start64.S index 7787adfb5d..39e5869fe2 100644 --- a/DuetPkg/BootSector/start64.S +++ b/DuetPkg/BootSector/start64.S @@ -587,7 +587,7 @@ Empty8042Loop: # data ############################################################################## - .align 0x2 + .p2align 1 gdtr: .long GDT_END - GDT_BASE - 1 # GDT limit .long 0 # (GDT base gets set above) @@ -595,7 +595,7 @@ Empty8042Loop: # global descriptor table (GDT) ############################################################################## - .align 0x2 + .p2align 1 GDT_BASE: # null descriptor @@ -685,7 +685,7 @@ GDT_BASE: GDT_END: - .align 0x2 + .p2align 1 @@ -702,7 +702,7 @@ idtr: .long IDT_END - IDT_BASE - 1 # IDT limit ############################################################################## #idt_tag db "IDT",0 - .align 0x2 + .p2align 1 IDT_BASE: @@ -1071,7 +1071,7 @@ IDT_BASE: IDT_END: - .align 0x2 + .p2align 1 MemoryMapSize: .long 0 MemoryMap: .long 0,0,0,0,0,0,0,0 -- cgit v1.2.3