code scrub for DebugSpport Module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6997 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -133,34 +133,6 @@ FxStorSupport ENDP
|
||||
|
||||
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; BOOLEAN
|
||||
; WriteInterruptFlag (
|
||||
; BOOLEAN NewState
|
||||
; )
|
||||
;
|
||||
; Abstract: Programs interrupt flag to the requested state and returns previous
|
||||
; state.
|
||||
;
|
||||
WriteInterruptFlag PROC C PUBLIC State:DWORD
|
||||
|
||||
pushfd
|
||||
pop eax
|
||||
and eax, 200h
|
||||
shr eax, 9
|
||||
mov ecx, State
|
||||
.IF cl == 0
|
||||
cli
|
||||
.ELSE
|
||||
sti
|
||||
.ENDIF
|
||||
ret
|
||||
|
||||
WriteInterruptFlag ENDP
|
||||
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; void
|
||||
; Vect2Desc (
|
||||
|
||||
Reference in New Issue
Block a user