summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/WriteDr2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/WriteDr2.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteDr2.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteDr2.asm b/MdePkg/Library/BaseLib/Ia32/WriteDr2.asm
index 3ed25fc8ef..7638babc73 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteDr2.asm
+++ b/MdePkg/Library/BaseLib/Ia32/WriteDr2.asm
@@ -22,20 +22,20 @@
;------------------------------------------------------------------------------
.586p
- .model flat
+ .model flat,C
.code
;------------------------------------------------------------------------------
-; VOID
+; UINTN
; EFIAPI
; AsmWriteDr2 (
; IN UINTN Value
; );
;------------------------------------------------------------------------------
-_AsmWriteDr2 PROC
+AsmWriteDr2 PROC
mov eax, [esp + 4]
mov dr2, eax
ret
-_AsmWriteDr2 ENDP
+AsmWriteDr2 ENDP
END