diff options
author | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-17 10:29:44 +0000 |
---|---|---|
committer | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-17 10:29:44 +0000 |
commit | baa1b55e453bea50d930316fb52a1a92ad29187b (patch) | |
tree | a5d934ba6b5c21b0f2845e899e58eaf7e72b61e7 /MdePkg/Library/BaseLib/Ipf | |
parent | 9f84a60982db062161f0c70827f4d844fa87d472 (diff) | |
download | edk2-platforms-baa1b55e453bea50d930316fb52a1a92ad29187b.tar.xz |
Added CpuFlushTlb() for IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@184 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Ipf')
-rw-r--r-- | MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s b/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s new file mode 100644 index 0000000000..0afd87e88b --- /dev/null +++ b/MdePkg/Library/BaseLib/Ipf/CpuFlushTlb.s @@ -0,0 +1,29 @@ +/// @file
+/// CpuFlushTlb() 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: CpuFlushTlb.s
+///
+///
+
+.auto
+.text
+
+.proc CpuFlushTlb
+.type CpuFlushTlb, @function
+CpuFlushTlb::
+ mov r8 = ip
+ mov r9 = -1
+ dep.z r10 = -1, 61, 3
+ and r8 = r8, r10
+ ptc.l r8, r9
+ br.ret.sptk.many b0
+.endp
|