#\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