xref: /linux/tools/testing/selftests/arm64/bti/teststubs.S (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
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#include "assembler.h"
8*314bcbf0SMark Brown
9*314bcbf0SMark Brownstartfn bti_none_func
10*314bcbf0SMark Brown	bti
11*314bcbf0SMark Brown	ret
12*314bcbf0SMark Brownendfn
13*314bcbf0SMark Brown
14*314bcbf0SMark Brownstartfn bti_c_func
15*314bcbf0SMark Brown	bti	c
16*314bcbf0SMark Brown	ret
17*314bcbf0SMark Brownendfn
18*314bcbf0SMark Brown
19*314bcbf0SMark Brownstartfn bti_j_func
20*314bcbf0SMark Brown	bti	j
21*314bcbf0SMark Brown	ret
22*314bcbf0SMark Brownendfn
23*314bcbf0SMark Brown
24*314bcbf0SMark Brownstartfn bti_jc_func
25*314bcbf0SMark Brown	bti	jc
26*314bcbf0SMark Brown	ret
27*314bcbf0SMark Brownendfn
28*314bcbf0SMark Brown
29*314bcbf0SMark Brownstartfn paciasp_func
30*314bcbf0SMark Brown	paciasp
31*314bcbf0SMark Brown	autiasp
32*314bcbf0SMark Brown	ret
33*314bcbf0SMark Brownendfn
34*314bcbf0SMark Brown
35*314bcbf0SMark Brownstartfn nohint_func
36*314bcbf0SMark Brown	ret
37*314bcbf0SMark Brownendfn
38*314bcbf0SMark Brown
39*314bcbf0SMark Brownemit_aarch64_feature_1_and
40