X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FCpuDxe%2FIa32%2FCpuInterrupt.S;fp=DuetPkg%2FCpuDxe%2FIa32%2FCpuInterrupt.S;h=350dfa02935259ed21712a0b19181b974e2dedfb;hb=9811c39250d3598b02b7f39bbec5a51c803f8f6a;hp=52b1f27a871fa2ed38a4a788a35a94780a93dbe0;hpb=f315cfa5b727b22486800a22dbe9362598a463c2;p=mirror_edk2.git diff --git a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S index 52b1f27a87..350dfa0293 100644 --- a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S +++ b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S @@ -78,7 +78,7 @@ ASM_PFX(InstallInterruptHandler): .long commonIdtEntry - . - 4 # offset to jump to .endm - .align 2 + .p2align 1 ASM_GLOBAL ASM_PFX(SystemExceptionHandler) ASM_PFX(SystemExceptionHandler): INT0: @@ -418,7 +418,7 @@ ExceptionDone: #;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .data - .align 4 + .p2align 2 gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit .long 0 # (GDT base gets set above) @@ -426,7 +426,7 @@ gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit # global descriptor table (GDT) #;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - .align 4 + .p2align 2 GDT_BASE: # null descriptor @@ -503,7 +503,7 @@ SPARE5_SEL = .-GDT_BASE GDT_END: - .align 4 + .p2align 2 @@ -519,7 +519,7 @@ idtr: .short IDT_END - IDT_BASE - 1 # IDT limit #;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #idt_tag .byte "IDT",0 - .align 4 + .p2align 2 IDT_BASE: # divide by zero (INT 0)