fvp_cpu_pwr.h 690 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2024, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef FVP_CPU_PWR_H
  7. #define FVP_CPU_PWR_H
  8. #ifndef __ASSEMBLER__
  9. #include <stdbool.h>
  10. #include <stdint.h>
  11. #if __aarch64__
  12. bool check_cpupwrctrl_el1_is_available(void);
  13. #endif /* __aarch64__ */
  14. #endif /* __ASSEMBLER__ */
  15. /*******************************************************************************
  16. * CPU Power Control register specific definitions
  17. ******************************************************************************/
  18. #define CPUPWRCTLR_EL1 S3_0_C15_C2_7
  19. #define CPUPWRCTLR_EL1_CORE_PWRDN_BIT U(1)
  20. #endif /* FVP_CPU_PWR_H */