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:
@ -131,36 +131,6 @@ FxStorSupport PROC PUBLIC
|
||||
ret
|
||||
FxStorSupport ENDP
|
||||
|
||||
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; BOOLEAN
|
||||
; WriteInterruptFlag (
|
||||
; BOOLEAN NewState // rcx
|
||||
; )
|
||||
;
|
||||
; Abstract: Programs interrupt flag to the requested state and returns previous
|
||||
; state.
|
||||
;
|
||||
WriteInterruptFlag PROC PUBLIC
|
||||
|
||||
pushfq
|
||||
pop rax
|
||||
and rax, 200h
|
||||
shr rax, 9
|
||||
cmp rcx, 0
|
||||
jnz EnableIF
|
||||
cli
|
||||
ret
|
||||
EnableIF:
|
||||
sti
|
||||
ret
|
||||
|
||||
WriteInterruptFlag ENDP
|
||||
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; void
|
||||
; Vect2Desc (
|
||||
|
Reference in New Issue
Block a user