X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIpf%2FSwitchStack.s;fp=MdePkg%2FLibrary%2FBaseLib%2FIpf%2FSwitchStack.s;h=1236bbe947ec8bbcc2c6e2d2b8847ceae29a7547;hp=33f2ed013f6e0e421cf06bf34aa1e65952349b4a;hb=fcbccedb28b6847614cc849b6380282ceaafe7bb;hpb=0779e5bfb0df775cbe02924ef9db4bd58f871ed5 diff --git a/MdePkg/Library/BaseLib/Ipf/SwitchStack.s b/MdePkg/Library/BaseLib/Ipf/SwitchStack.s index 33f2ed013f..1236bbe947 100644 --- a/MdePkg/Library/BaseLib/Ipf/SwitchStack.s +++ b/MdePkg/Library/BaseLib/Ipf/SwitchStack.s @@ -1,7 +1,7 @@ /// @file /// IPF specific SwitchStack() function /// -/// Copyright (c) 2006, Intel Corporation. All rights reserved.
+/// Copyright (c) 2006 - 2012, 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 @@ -27,7 +27,9 @@ AsmSwitchStackAndBackingStore:: mov r17 = in1 mov r18 = in2 and r2 = r14, r2 - + + flushrs + mov ar.rsc = r2 mov sp = in3 mov r19 = in4