summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-01-01 21:19:46 +0000
committerjake <jake@FreeBSD.org>2002-01-01 21:19:46 +0000
commit8b13243b543698417395c6c999986857a1bfebb4 (patch)
tree9a98a2f32e69b27abbd1a729da3eb98df96d4ad8 /sys/sparc64
parent59cf24d4436b20e0ea331ebc11c34ffcc50b4549 (diff)
downloadFreeBSD-src-8b13243b543698417395c6c999986857a1bfebb4.zip
FreeBSD-src-8b13243b543698417395c6c999986857a1bfebb4.tar.gz
Add a define for the fp restore soft trap type.
Only declare C things if __ASM__ is not defined.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/utrap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/include/utrap.h b/sys/sparc64/include/utrap.h
index 6793559..b738eff 100644
--- a/sys/sparc64/include/utrap.h
+++ b/sys/sparc64/include/utrap.h
@@ -71,10 +71,11 @@
#define ST_FIX_ALIGNMENT 6
#define ST_INTEGER_OVERFLOW 7
#define ST_SYSCALL 9
+#define ST_FP_RESTORE 10
#define UTH_NOCHANGE (-1)
-#if 0
+#ifndef __ASM__
typedef int utrap_entry_t;
typedef void *utrap_handler_t;
OpenPOWER on IntegriCloud