summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/pcb.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-08-04 18:55:15 +0000
committertmm <tmm@FreeBSD.org>2001-08-04 18:55:15 +0000
commit91c3a007e599498b1528d02dea269a94e45a5fb9 (patch)
treebc5f6dcbfd1875b596bdb288e1f53734e4034906 /sys/sparc64/include/pcb.h
parentfbdd58046b90150b1a878352cc6437ceffe60662 (diff)
downloadFreeBSD-src-91c3a007e599498b1528d02dea269a94e45a5fb9.zip
FreeBSD-src-91c3a007e599498b1528d02dea269a94e45a5fb9.tar.gz
Add floating point context switching code for sparc64.
Reviewed by: jake
Diffstat (limited to 'sys/sparc64/include/pcb.h')
-rw-r--r--sys/sparc64/include/pcb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sparc64/include/pcb.h b/sys/sparc64/include/pcb.h
index d5ad7eb..d5dd720 100644
--- a/sys/sparc64/include/pcb.h
+++ b/sys/sparc64/include/pcb.h
@@ -29,7 +29,12 @@
#ifndef _MACHINE_PCB_H_
#define _MACHINE_PCB_H_
+#include <machine/fp.h>
+#include <machine/pstate.h>
+
+/* NOTE: pcb_fpstate must be aligned on a 64 byte boundary. */
struct pcb {
+ struct fpstate pcb_fpstate;
u_long pcb_fp;
u_long pcb_pc;
caddr_t pcb_onfault;
OpenPOWER on IntegriCloud