From 053b13f29649e7a8d742304fe9fe51f41c4f9847 Mon Sep 17 00:00:00 2001 From: xli24 Date: Mon, 2 Mar 2009 03:54:47 +0000 Subject: [PATCH] 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 --- MdePkg/Library/BaseLib/Ipf/AccessGcr.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/BaseLib/Ipf/AccessGcr.s b/MdePkg/Library/BaseLib/Ipf/AccessGcr.s index 97e95a30c5..5f610c7c95 100644 --- a/MdePkg/Library/BaseLib/Ipf/AccessGcr.s +++ b/MdePkg/Library/BaseLib/Ipf/AccessGcr.s @@ -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;;