tcr2.h 428 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2024, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef TCR2_H
  7. #define TCR2_H
  8. #include <context.h>
  9. #if ENABLE_FEAT_TCR2
  10. void tcr2_enable(cpu_context_t *ctx);
  11. void tcr2_disable(cpu_context_t *ctx);
  12. #else
  13. static inline void tcr2_enable(cpu_context_t *ctx)
  14. {
  15. }
  16. static inline void tcr2_disable(cpu_context_t *ctx)
  17. {
  18. }
  19. #endif /* ENABLE_FEAT_TCR2 */
  20. #endif /* TCR2_H */