diff options
author | jake <jake@FreeBSD.org> | 2003-04-01 04:58:50 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-04-01 04:58:50 +0000 |
commit | c40f0ee134c3131d84c03862215a1463873ea872 (patch) | |
tree | c7ad340e884366712a864693cb1d6a845d1644e1 /sys/sparc64/include/pcb.h | |
parent | 6d2a0afa7c8d93769b09f0da8ca3d24d2f16f5ac (diff) | |
download | FreeBSD-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.h | 3 |
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]; |