ArmReadIdPfr0 is now used only inside ArmLib. Rename the AArch64 variant ArmReadIdAA64Pfr0 and add a declaration of that only into local header AArch64/AArch64Lib.h. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
46 lines
821 B
C
46 lines
821 B
C
/** @file
|
|
|
|
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
|
Portions Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
|
|
Copyright (c) 2020, NUVIA Inc. All rights reserved.<BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef __AARCH64_LIB_H__
|
|
#define __AARCH64_LIB_H__
|
|
|
|
typedef VOID (*AARCH64_CACHE_OPERATION)(UINTN);
|
|
|
|
VOID
|
|
AArch64AllDataCachesOperation (
|
|
IN AARCH64_CACHE_OPERATION DataCacheOperation
|
|
);
|
|
|
|
VOID
|
|
EFIAPI
|
|
ArmInvalidateDataCacheEntryBySetWay (
|
|
IN UINTN SetWayFormat
|
|
);
|
|
|
|
VOID
|
|
EFIAPI
|
|
ArmCleanDataCacheEntryBySetWay (
|
|
IN UINTN SetWayFormat
|
|
);
|
|
|
|
VOID
|
|
EFIAPI
|
|
ArmCleanInvalidateDataCacheEntryBySetWay (
|
|
IN UINTN SetWayFormat
|
|
);
|
|
|
|
UINTN
|
|
EFIAPI
|
|
ArmReadIdAA64Pfr0 (
|
|
VOID
|
|
);
|
|
#endif // __AARCH64_LIB_H__
|
|
|