Added CpuFlushTlb() for IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@184 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bxing 2006-05-17 10:29:44 +00:00
parent 9f84a60982
commit baa1b55e45
2 changed files with 30 additions and 0 deletions

View File

@ -273,6 +273,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Filename>Ipf/InterlockedCompareExchange64.s</Filename>
<Filename>Ipf/Synchronization.c</Filename>
<Filename>Ipf/CpuPause.s</Filename>
<Filename>Ipf/CpuFlushTlb.s</Filename>
</Arch>
<Arch ArchType="EBC">
<Filename>Math64.c</Filename>

View File

@ -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