xref: /freebsd/sys/cddl/dev/kinst/aarch64/kinst_isa.h (revision 07864a8a2466b8ab3d6fa6623a7eaaf0834c0b51)
1 /*
2  * SPDX-License-Identifier: CDDL 1.0
3  *
4  * Copyright (c) 2023 The FreeBSD Foundation
5  *
6  * This software was developed by Christos Margiolis <christos@FreeBSD.org>
7  * under sponsorship from the FreeBSD Foundation.
8  */
9 
10 #ifndef _KINST_ISA_H_
11 #define _KINST_ISA_H_
12 
13 #define KINST_PATCHVAL		DTRACE_PATCHVAL
14 
15 /*
16  * The trampoline contains [instruction, brk].
17  */
18 #define KINST_TRAMP_SIZE	8
19 
20 typedef uint32_t kinst_patchval_t;
21 
22 struct kinst_probe_md {
23 	bool	emulate;		/* emulate in sw */
24 };
25 
26 #endif /* _KINST_ISA_H_ */
27