3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 Portions Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef __AARCH64_LIB_H__
17 #define __AARCH64_LIB_H__
19 typedef VOID (*AARCH64_CACHE_OPERATION
)(UINTN
);
29 ArmInvalidateDataCacheEntryBySetWay (
35 ArmCleanDataCacheEntryBySetWay (
41 ArmCleanDataCacheToPoUEntryBySetWay (
47 ArmCleanInvalidateDataCacheEntryBySetWay (
53 ArmEnableAsynchronousAbort (
59 ArmDisableAsynchronousAbort (
88 AArch64PerformPoUDataCacheOperation (
89 IN AARCH64_CACHE_OPERATION DataCacheOperation
93 AArch64AllDataCachesOperation (
94 IN AARCH64_CACHE_OPERATION DataCacheOperation
97 #endif // __AARCH64_LIB_H__