]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/efi32.S
Use .p2align directive instead of ambiguous .align directive.
[mirror_edk2.git] / DuetPkg / BootSector / efi32.S
index d142624f0ff4d05b4a41c5c54e96fd2a49f5fa00..f21ff843844af9ad161d8f4adced143eff5db63b 100644 (file)
@@ -21,6 +21,9 @@
 \r
         .org 0x21000\r
 \r
+.global _start\r
+_start:\r
+\r
 .equ                 DEFAULT_HANDLER_SIZE, INT1 - INT0\r
 \r
 .macro jmpCommonIdtEntry  \r
@@ -150,7 +153,7 @@ EfiLdrOffset:
     ret\r
 \r
 #    db      "**** DEFAULT IDT ENTRY ***",0\r
-    .align 0x2\r
+    .p2align 1\r
 Halt: \r
 INT0: \r
     pushl   $0x0    # push error code place holder on the stack\r