diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-06 23:14:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-06 23:14:12 +0000 |
commit | 50559256e64b1c1ed8ff42aa0bbf49b768e6a940 (patch) | |
tree | e258d341da8ceffd34951cadbc25d2ee15a12059 /sys/arch/sh/include/trap.h | |
parent | 6101889507706e8a5bbbe7a836d307f8d47659a1 (diff) |
Define trap #0x81 for cache range flush, will be necessary soon for gcc
trampoline code and ld.so.
Diffstat (limited to 'sys/arch/sh/include/trap.h')
-rw-r--r-- | sys/arch/sh/include/trap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sh/include/trap.h b/sys/arch/sh/include/trap.h index b3a4bca347b..23a28909faa 100644 --- a/sys/arch/sh/include/trap.h +++ b/sys/arch/sh/include/trap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.h,v 1.1 2006/10/06 21:02:55 miod Exp $ */ +/* $OpenBSD: trap.h,v 1.2 2007/02/06 23:14:09 miod Exp $ */ /* $NetBSD: exception.h,v 1.9 2006/07/22 21:58:29 uwe Exp $ */ /*- @@ -79,6 +79,7 @@ #define EXP_USER 0x001 /* exception from user-mode */ #define _SH_TRA_SYSCALL 0x80 /* syscall trapa number */ +#define _SH_TRA_CACHECTL 0x81 /* cachectl trapa number */ #define _SH_TRA_BREAK 0xc3 /* magic number for debugger */ /* |