summaryrefslogtreecommitdiff
path: root/MdePkg/Library/CpuLib/Ipf/CpuPause.s
diff options
context:
space:
mode:
authorvprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-05 18:47:03 +0000
committervprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-05 18:47:03 +0000
commite0337bfab8f1d3affab9e0313121d6015f0d996c (patch)
tree1315ad8a139c688f27af579b5d2342d9fae7f056 /MdePkg/Library/CpuLib/Ipf/CpuPause.s
parent052ad7e1912d93798fa80f74c6a6ab364b4d13d8 (diff)
downloadedk2-platforms-e0337bfab8f1d3affab9e0313121d6015f0d996c.tar.xz
created a CpuLib for CpuSleep and CpuFlushTlb from BaseLib to remove circular dependency on PalCallLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4020 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/CpuLib/Ipf/CpuPause.s')
-rw-r--r--MdePkg/Library/CpuLib/Ipf/CpuPause.s25
1 files changed, 25 insertions, 0 deletions
diff --git a/MdePkg/Library/CpuLib/Ipf/CpuPause.s b/MdePkg/Library/CpuLib/Ipf/CpuPause.s
new file mode 100644
index 0000000000..f52692f438
--- /dev/null
+++ b/MdePkg/Library/CpuLib/Ipf/CpuPause.s
@@ -0,0 +1,25 @@
+/// @file
+/// CpuPause() function for Itanium-based architecture.
+///
+/// Copyright (c) 2006, 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
+/// http://opensource.org/licenses/bsd-license.php
+///
+/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+///
+/// Module Name: CpuPause.s
+///
+///
+
+.auto
+.text
+
+.proc CpuPause
+.type CpuPause, @function
+CpuPause::
+ hint @pause
+ br.ret.sptk.many b0
+.endp