diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadMsr64.asm')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/ReadMsr64.asm | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.asm b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.asm index 6c9fe00033..9a3e11ccca 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.asm +++ b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.asm @@ -21,35 +21,21 @@ ;
;------------------------------------------------------------------------------
- .586P
- .model flat
+ .586p
+ .model flat,C
.code
;------------------------------------------------------------------------------
-; UINT32
-; EFIAPI
-; AsmReadMsr32 (
-; IN UINT32 Index
-; );
-;------------------------------------------------------------------------------
-_AsmReadMsr32 PROC
- ;
- ; AsmReadMsr32 shares the same implementation with AsmReadMsr64 and thus no
- ; code inside this function
- ;
-_AsmReadMsr32 ENDP
-
-;------------------------------------------------------------------------------
; UINT64
; EFIAPI
; AsmReadMsr64 (
; IN UINT64 Index
; );
;------------------------------------------------------------------------------
-_AsmReadMsr64 PROC
+AsmReadMsr64 PROC
mov ecx, [esp + 4]
rdmsr
ret
-_AsmReadMsr64 ENDP
+AsmReadMsr64 ENDP
END
|