summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2008-07-04 22:04:37 +0000
committerkettenis <kettenis@openbsd.org>2008-07-04 22:04:37 +0000
commit6a4d3eb62ea73f9262ccf2849917d6f2a63db904 (patch)
tree8541452ab61132433231419a146f2737d746678f
parentChange trapbase from a pointer to a variable-length array such that it can (diff)
downloadwireguard-openbsd-6a4d3eb62ea73f9262ccf2849917d6f2a63db904.tar.xz
wireguard-openbsd-6a4d3eb62ea73f9262ccf2849917d6f2a63db904.zip
Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.
-rw-r--r--sys/arch/sparc64/include/trap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/trap.h b/sys/arch/sparc64/include/trap.h
index 8fb2e753ff1..ca7dd92cc6a 100644
--- a/sys/arch/sparc64/include/trap.h
+++ b/sys/arch/sparc64/include/trap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.h,v 1.3 2003/07/09 02:22:48 jason Exp $ */
+/* $OpenBSD: trap.h,v 1.4 2008/07/04 22:04:37 kettenis Exp $ */
/* $NetBSD: trap.h,v 1.4 1999/06/07 05:28:04 eeh Exp $ */
/*
@@ -137,6 +137,7 @@
#define T_OS_VENDOR_SYSCALL 0x166
#define T_HW_OEM_SYSCALL 0x167
#define T_RTF_DEF_TRAP 0x168
+#define T_MON_BREAKPOINT 0x17f
#ifdef _KERNEL /* pseudo traps for locore.s */
#define T_RWRET -1 /* need first user window for trap return */