X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIpf%2FAccessGcr.s;h=97e95a30c5ddf7c53f3864b8dd8183510f6b2ee6;hb=373ade0eb64a522e45b1b94c15b95fb5ab417c00;hp=dc038ff338899a8a048a29aaa0d2fa0ef7592a29;hpb=700e6ffd3e351cbe2069de83d94cefc0743ab45f;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ipf/AccessGcr.s b/MdePkg/Library/BaseLib/Ipf/AccessGcr.s index dc038ff338..97e95a30c5 100644 --- a/MdePkg/Library/BaseLib/Ipf/AccessGcr.s +++ b/MdePkg/Library/BaseLib/Ipf/AccessGcr.s @@ -1,7 +1,7 @@ /// @file /// IPF specific Global Control Registers accessing functions /// -/// Copyright (c) 2006, Intel Corporation +/// Copyright (c) 2006 - 2008, Intel Corporation /// All rights reserved. This program and the accompanying materials /// are licensed and made available under the terms and conditions of the BSD License /// which accompanies this distribution. The full text of the license may be found at @@ -205,18 +205,18 @@ AsmReadIva:: .type AsmWriteIva, @function .proc AsmWriteIva .regstk 1, 3, 0, 0 - + alloc loc1=ar.pfs,1,4,0,0 ;; - - mov loc2 = psr - rsm 0x6000 // Make sure interrupts are masked + + mov loc2 = psr + rsm 0x6000 // Make sure interrupts are masked AsmWriteIva:: mov cr.iva = in0 - srlz.i;; - mov psr.l = loc2;; - srlz.i;; - srlz.d;; + srlz.i;; + mov psr.l = loc2;; + srlz.i;; + srlz.d;; mov ar.pfs=loc1 ;; mov r8 = in0;; br.ret.dpnt b0;; @@ -271,4 +271,4 @@ AsmWritePta:: srlz.i;; srlz.d;; br.ret.dpnt b0;; -.endp AsmWritePta \ No newline at end of file +.endp AsmWritePta