1. Merger generic functions into one file.
2. Use the basic definitions in BaseLib.h, instead of local definitions git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6986 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -132,21 +132,6 @@ FxStorSupport PROC C PUBLIC
|
||||
FxStorSupport ENDP
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; DESCRIPTOR *
|
||||
; GetIdtr (
|
||||
; void
|
||||
; )
|
||||
;
|
||||
; Abstract: Returns physical address of IDTR
|
||||
;
|
||||
GetIdtr PROC C PUBLIC
|
||||
LOCAL IdtrBuf:FWORD
|
||||
|
||||
sidt IdtrBuf
|
||||
mov eax, DWORD PTR IdtrBuf + 2
|
||||
ret
|
||||
GetIdtr ENDP
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user