summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadPmc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadPmc.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadPmc.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadPmc.asm b/MdePkg/Library/BaseLib/Ia32/ReadPmc.asm
index 1fe598158d..17156d4652 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadPmc.asm
+++ b/MdePkg/Library/BaseLib/Ia32/ReadPmc.asm
@@ -21,8 +21,8 @@
;
;------------------------------------------------------------------------------
- .586P
- .model flat
+ .586p
+ .model flat,C
.code
;------------------------------------------------------------------------------
@@ -32,10 +32,10 @@
; IN UINT32 PmcIndex
; );
;------------------------------------------------------------------------------
-_AsmReadPmc PROC
+AsmReadPmc PROC
mov ecx, [esp + 4]
rdpmc
ret
-_AsmReadPmc ENDP
+AsmReadPmc ENDP
END