HardenedBSD/sys/arm/include/trap.h
Andrew Turner c218815337 Move the check to see if we are tracing a function with the DTrace Function
Boundary Trace to assembly to reduce the overhead of these checks.

Submitted by:	Howard Su <howard0su@gmail.com>
Relnotes:	Yes
Differential Revision:	https://reviews.freebsd.org/D4266
2015-12-05 09:32:36 +00:00

12 lines
338 B
C

/* $NetBSD: trap.h,v 1.1 2001/02/23 03:48:19 ichiro Exp $ */
/* $FreeBSD$ */
#ifndef _MACHINE_TRAP_H_
#define _MACHINE_TRAP_H_
#define GDB_BREAKPOINT 0xe6000011
#define GDB5_BREAKPOINT 0xe7ffdefe
#define PTRACE_BREAKPOINT 0xe7fffff0
#define KERNEL_BREAKPOINT 0xe7ffffff
#define FBT_BREAKPOINT 0xe7f000f0
#endif /* _MACHINE_TRAP_H_ */