summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadCr0.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadCr0.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadCr0.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr0.asm b/MdePkg/Library/BaseLib/Ia32/ReadCr0.asm
index 579cee2377..a8fe4a7e89 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadCr0.asm
+++ b/MdePkg/Library/BaseLib/Ia32/ReadCr0.asm
@@ -22,7 +22,7 @@
;------------------------------------------------------------------------------
.386p
- .model flat
+ .model flat,C
.code
;------------------------------------------------------------------------------
@@ -32,9 +32,9 @@
; VOID
; );
;------------------------------------------------------------------------------
-_AsmReadCr0 PROC
+AsmReadCr0 PROC
mov eax, cr0
ret
-_AsmReadCr0 ENDP
+AsmReadCr0 ENDP
END