mirror of https://github.com/acidanthera/audk.git
Update to use DOS format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6320 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
32ed92de95
commit
e82e1acc55
|
@ -205,18 +205,18 @@ AsmReadIva::
|
||||||
.type AsmWriteIva, @function
|
.type AsmWriteIva, @function
|
||||||
.proc AsmWriteIva
|
.proc AsmWriteIva
|
||||||
.regstk 1, 3, 0, 0
|
.regstk 1, 3, 0, 0
|
||||||
|
|
||||||
alloc loc1=ar.pfs,1,4,0,0 ;;
|
alloc loc1=ar.pfs,1,4,0,0 ;;
|
||||||
|
|
||||||
mov loc2 = psr
|
mov loc2 = psr
|
||||||
rsm 0x6000 // Make sure interrupts are masked
|
rsm 0x6000 // Make sure interrupts are masked
|
||||||
|
|
||||||
AsmWriteIva::
|
AsmWriteIva::
|
||||||
mov cr.iva = in0
|
mov cr.iva = in0
|
||||||
srlz.i;;
|
srlz.i;;
|
||||||
mov psr.l = loc2;;
|
mov psr.l = loc2;;
|
||||||
srlz.i;;
|
srlz.i;;
|
||||||
srlz.d;;
|
srlz.d;;
|
||||||
mov ar.pfs=loc1 ;;
|
mov ar.pfs=loc1 ;;
|
||||||
mov r8 = in0;;
|
mov r8 = in0;;
|
||||||
br.ret.dpnt b0;;
|
br.ret.dpnt b0;;
|
||||||
|
|
|
@ -59,13 +59,13 @@ AsmReadKr0::
|
||||||
|
|
||||||
AsmWriteKr0::
|
AsmWriteKr0::
|
||||||
alloc loc1=ar.pfs,1,4,0,0 ;;
|
alloc loc1=ar.pfs,1,4,0,0 ;;
|
||||||
mov loc2 = psr;;
|
mov loc2 = psr;;
|
||||||
rsm 0x6000;; // Masking interrupts
|
rsm 0x6000;; // Masking interrupts
|
||||||
mov ar.k0 = in0
|
mov ar.k0 = in0
|
||||||
srlz.i;;
|
srlz.i;;
|
||||||
mov psr.l = loc2;;
|
mov psr.l = loc2;;
|
||||||
srlz.i;;
|
srlz.i;;
|
||||||
srlz.d;;
|
srlz.d;;
|
||||||
mov r8 = in0;;
|
mov r8 = in0;;
|
||||||
mov ar.pfs=loc1 ;;
|
mov ar.pfs=loc1 ;;
|
||||||
br.ret.dpnt b0;;
|
br.ret.dpnt b0;;
|
||||||
|
|
Loading…
Reference in New Issue