summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/WriteCr3.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/WriteCr3.asm')
-rw-r--r--MdePkg/Library/BaseLib/X64/WriteCr3.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/WriteCr3.asm b/MdePkg/Library/BaseLib/X64/WriteCr3.asm
index 5715dea9b7..e63229820e 100644
--- a/MdePkg/Library/BaseLib/X64/WriteCr3.asm
+++ b/MdePkg/Library/BaseLib/X64/WriteCr3.asm
@@ -27,11 +27,12 @@
; UINTN
; EFIAPI
; AsmWriteCr3 (
-; VOID
+; UINTN Cr3
; );
;------------------------------------------------------------------------------
AsmWriteCr3 PROC
mov cr3, rcx
+ mov rax, rcx
ret
AsmWriteCr3 ENDP