3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 Portions Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
5 Copyright (c) 2020, NUVIA Inc. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #ifndef __AARCH64_LIB_H__
12 #define __AARCH64_LIB_H__
14 typedef VOID (*AARCH64_CACHE_OPERATION
)(UINTN
);
17 AArch64AllDataCachesOperation (
18 IN AARCH64_CACHE_OPERATION DataCacheOperation
23 ArmInvalidateDataCacheEntryBySetWay (
29 ArmCleanDataCacheEntryBySetWay (
35 ArmCleanInvalidateDataCacheEntryBySetWay (
45 /** Reads the ID_AA64MMFR2_EL1 register.
47 @return The contents of the ID_AA64MMFR2_EL1 register.
55 #endif // __AARCH64_LIB_H__