]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Include/Chipset/ArmCortexA5x.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ArmPkg / Include / Chipset / ArmCortexA5x.h
CommitLineData
25402f5d
HL
1/** @file\r
2\r
a4d95d7c 3 Copyright (c) 2012 - 2021, Arm Limited. All rights reserved.<BR>\r
25402f5d 4\r
4059386c 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
25402f5d
HL
6\r
7**/\r
8\r
a4d95d7c
PG
9#ifndef ARM_CORTEX_A5X_H_\r
10#define ARM_CORTEX_A5X_H_\r
25402f5d
HL
11\r
12//\r
13// Cortex A5x feature bit definitions\r
14//\r
429309e0 15#define A5X_FEATURE_SMP (1 << 6)\r
25402f5d 16\r
47d183db
OM
17//\r
18// Helper functions to access CPU Extended Control Register\r
19//\r
20UINT64\r
21EFIAPI\r
22ArmReadCpuExCr (\r
23 VOID\r
24 );\r
25\r
26VOID\r
27EFIAPI\r
28ArmWriteCpuExCr (\r
429309e0 29 IN UINT64 Val\r
47d183db
OM
30 );\r
31\r
32VOID\r
33EFIAPI\r
34ArmSetCpuExCrBit (\r
429309e0 35 IN UINT64 Bits\r
47d183db
OM
36 );\r
37\r
38VOID\r
39EFIAPI\r
40ArmUnsetCpuExCrBit (\r
429309e0 41 IN UINT64 Bits\r
47d183db
OM
42 );\r
43\r
a4d95d7c 44#endif // ARM_CORTEX_A5X_H_\r