]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/CpuId.S
1. Updated function headers in all assembly files.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / CpuId.S
index c394de926d4602a03c306aaa42bced356209bcdb..592ade651a6a32829a768d37abc4608526ae59bf 100644 (file)
@@ -21,6 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
+.globl  _AsmCpuid\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID\r
 #    OUT  UINT32  *RegisterOutEdx  OPTIONAL\r
 #    )\r
 #------------------------------------------------------------------------------\r
-.globl  _AsmCpuid\r
 _AsmCpuid:\r
-    pushl   %ebx\r
-    pushl   %ebp\r
+    push    %ebx\r
+    push    %ebp\r
     movl    %esp, %ebp\r
     movl    12(%ebp), %eax\r
     cpuid\r
-    pushl   %ecx\r
+    push    %ecx\r
     movl    16(%ebp), %ecx\r
     jecxz   L1\r
     movl    %eax, (%ecx)\r
-L1: \r
+L1:\r
     movl    20(%ebp), %ecx\r
     jecxz   L2\r
     movl    %ebx, (%ecx)\r
-L2: \r
+L2:\r
     movl    24(%ebp), %ecx\r
     jecxz   L3\r
     popl    (%ecx)\r
-L3: \r
+L3:\r
     movl    28(%ebp), %ecx\r
     jecxz   L4\r
     movl    %edx, (%ecx)\r
-L4: \r
+L4:\r
     movl    12(%ebp), %eax\r
     leave\r
-    popl    %ebx\r
+    pop     %ebx\r
     ret\r
-\r
-\r