summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/WriteCr0.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/WriteCr0.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteCr0.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr0.asm b/MdePkg/Library/BaseLib/Ia32/WriteCr0.asm
index d64d621cd5..5eab67f819 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteCr0.asm
+++ b/MdePkg/Library/BaseLib/Ia32/WriteCr0.asm
@@ -22,20 +22,20 @@
;------------------------------------------------------------------------------
.386p
- .model flat
+ .model flat,C
.code
;------------------------------------------------------------------------------
; UINTN
; EFIAPI
; AsmWriteCr0 (
-; VOID
+; UINTN Cr0
; );
;------------------------------------------------------------------------------
-_AsmWriteCr0 PROC
+AsmWriteCr0 PROC
mov eax, [esp + 4]
mov cr0, eax
ret
-_AsmWriteCr0 ENDP
+AsmWriteCr0 ENDP
END