summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/pcb.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-04-01 04:58:50 +0000
committerjake <jake@FreeBSD.org>2003-04-01 04:58:50 +0000
commitc40f0ee134c3131d84c03862215a1463873ea872 (patch)
treec7ad340e884366712a864693cb1d6a845d1644e1 /sys/sparc64/include/pcb.h
parent6d2a0afa7c8d93769b09f0da8ca3d24d2f16f5ac (diff)
downloadFreeBSD-src-c40f0ee134c3131d84c03862215a1463873ea872.zip
FreeBSD-src-c40f0ee134c3131d84c03862215a1463873ea872.tar.gz
- Add a flags field to struct pcb. Use this to keep track of wether or
not the pcb has floating point registers saved in it. - Implement get_mcontext and set_mcontext.
Diffstat (limited to 'sys/sparc64/include/pcb.h')
-rw-r--r--sys/sparc64/include/pcb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/include/pcb.h b/sys/sparc64/include/pcb.h
index c1e00f1..93615ba 100644
--- a/sys/sparc64/include/pcb.h
+++ b/sys/sparc64/include/pcb.h
@@ -33,11 +33,14 @@
#define MAXWIN 8
+#define PCB_FEF (1 << 0)
+
/* NOTE: pcb_ufp must be aligned on a 64 byte boundary. */
struct pcb {
uint32_t pcb_ufp[64];
u_long pcb_sp;
u_long pcb_pc;
+ u_long pcb_flags;
u_long pcb_nsaved;
u_long pcb_rwsp[MAXWIN];
struct rwindow pcb_rw[MAXWIN];
OpenPOWER on IntegriCloud