summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ipf/SwitchStack.s
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ipf/SwitchStack.s')
-rw-r--r--MdePkg/Library/BaseLib/Ipf/SwitchStack.s6
1 files changed, 4 insertions, 2 deletions
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.<BR>
+/// Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
/// 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