mirror of https://github.com/acidanthera/audk.git
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:
parent
9f84a60982
commit
baa1b55e45
|
@ -273,6 +273,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<Filename>Ipf/InterlockedCompareExchange64.s</Filename>
|
<Filename>Ipf/InterlockedCompareExchange64.s</Filename>
|
||||||
<Filename>Ipf/Synchronization.c</Filename>
|
<Filename>Ipf/Synchronization.c</Filename>
|
||||||
<Filename>Ipf/CpuPause.s</Filename>
|
<Filename>Ipf/CpuPause.s</Filename>
|
||||||
|
<Filename>Ipf/CpuFlushTlb.s</Filename>
|
||||||
</Arch>
|
</Arch>
|
||||||
<Arch ArchType="EBC">
|
<Arch ArchType="EBC">
|
||||||
<Filename>Math64.c</Filename>
|
<Filename>Math64.c</Filename>
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue