1 /** @file
2 
3   Copyright (c) 2012-2014, ARM Limited. All rights reserved.
4 
5   This program and the accompanying materials
6   are licensed and made available under the terms and conditions of the BSD License
7   which accompanies this distribution.  The full text of the license may be found at
8   http://opensource.org/licenses/bsd-license.php
9 
10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 
13 **/
14 
15 #ifndef __ARM_CORTEX_A5x_H__
16 #define __ARM_CORTEX_A5x_H__
17 
18 //
19 // Cortex A5x feature bit definitions
20 //
21 #define A5X_FEATURE_SMP     (1 << 6)
22 
23 //
24 // Helper functions to access CPU Extended Control Register
25 //
26 UINT64
27 EFIAPI
28 ArmReadCpuExCr (
29   VOID
30   );
31 
32 VOID
33 EFIAPI
34 ArmWriteCpuExCr (
35   IN  UINT64 Val
36   );
37 
38 VOID
39 EFIAPI
40 ArmSetCpuExCrBit (
41   IN  UINT64    Bits
42   );
43 
44 VOID
45 EFIAPI
46 ArmUnsetCpuExCrBit (
47   IN  UINT64    Bits
48   );
49 
50 #endif
51