ArmCortexA5x.h 620 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /** @file
  2. Copyright (c) 2012 - 2021, Arm Limited. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #ifndef ARM_CORTEX_A5X_H_
  6. #define ARM_CORTEX_A5X_H_
  7. //
  8. // Cortex A5x feature bit definitions
  9. //
  10. #define A5X_FEATURE_SMP (1 << 6)
  11. //
  12. // Helper functions to access CPU Extended Control Register
  13. //
  14. UINT64
  15. EFIAPI
  16. ArmReadCpuExCr (
  17. VOID
  18. );
  19. VOID
  20. EFIAPI
  21. ArmWriteCpuExCr (
  22. IN UINT64 Val
  23. );
  24. VOID
  25. EFIAPI
  26. ArmSetCpuExCrBit (
  27. IN UINT64 Bits
  28. );
  29. VOID
  30. EFIAPI
  31. ArmUnsetCpuExCrBit (
  32. IN UINT64 Bits
  33. );
  34. #endif // ARM_CORTEX_A5X_H_