mirror of https://github.com/acidanthera/audk.git
Fix the error that part of instructions of AsmWriteIva() is not included into the function body.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7751 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a51a9ea364
commit
053b13f296
|
@ -206,12 +206,12 @@ AsmReadIva::
|
|||
.proc AsmWriteIva
|
||||
.regstk 1, 3, 0, 0
|
||||
|
||||
AsmWriteIva::
|
||||
alloc loc1=ar.pfs,1,4,0,0 ;;
|
||||
|
||||
mov loc2 = psr
|
||||
rsm 0x6000 // Make sure interrupts are masked
|
||||
|
||||
AsmWriteIva::
|
||||
mov cr.iva = in0
|
||||
srlz.i;;
|
||||
mov psr.l = loc2;;
|
||||
|
|
Loading…
Reference in New Issue