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