1. Updated function headers in all assembly files.
2. Split x86LowLevel.c into a bunch of C files to make images linked with BaseLib smaller. 3. Fixed a few minor bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1066 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -21,24 +21,10 @@
|
||||
;
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
.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
|
||||
@@ -46,10 +32,10 @@ _AsmReadMsr32 ENDP
|
||||
; IN UINT64 Index
|
||||
; );
|
||||
;------------------------------------------------------------------------------
|
||||
_AsmReadMsr64 PROC
|
||||
AsmReadMsr64 PROC
|
||||
mov ecx, [esp + 4]
|
||||
rdmsr
|
||||
ret
|
||||
_AsmReadMsr64 ENDP
|
||||
AsmReadMsr64 ENDP
|
||||
|
||||
END
|
||||
|
Reference in New Issue
Block a user