]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Sec/Ia32/SecEntry.S
Remove ".intel_syntax", convert MASM to GAS.
[mirror_edk2.git] / OvmfPkg / Sec / Ia32 / SecEntry.S
index 9fefebca5ffe8f57757ff42543b84c43e81cab11..50ba5aa99ef823a910dd2b965e9270de42a3a838 100644 (file)
@@ -37,7 +37,6 @@
 #  @return None
 #
 #
-.intel_syntax
 ASM_GLOBAL ASM_PFX(_ModuleEntryPoint)
 ASM_PFX(_ModuleEntryPoint):
 
@@ -45,17 +44,17 @@ ASM_PFX(_ModuleEntryPoint):
     # Load temporary stack top at very low memory.  The C code
     # can reload to a better address.
     #
-    mov     eax, INITIAL_TOP_OF_STACK
-    mov     esp, eax
+    movl    $INITIAL_TOP_OF_STACK, %eax 
+    movl    %eax, %esp
     nop
 
     #
     # Call into C code
     #
-    push    eax
-    push    edi
-    push    esi
-    push    ebp
+    pushl   %eax
+    pushl   %edi
+    pushl   %esi
+    pushl   %ebp
     call    ASM_PFX(SecCoreStartupWithStack)