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