btitest.h 524 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2019 Arm Limited
  4. * Original author: Dave Martin <[email protected]>
  5. */
  6. #ifndef BTITEST_H
  7. #define BTITEST_H
  8. /* Trampolines for calling the test stubs: */
  9. void call_using_br_x0(void (*)(void));
  10. void call_using_br_x16(void (*)(void));
  11. void call_using_blr(void (*)(void));
  12. /* Test stubs: */
  13. void nohint_func(void);
  14. void bti_none_func(void);
  15. void bti_c_func(void);
  16. void bti_j_func(void);
  17. void bti_jc_func(void);
  18. void paciasp_func(void);
  19. #endif /* !BTITEST_H */