summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/pcb.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-11-18 03:28:28 +0000
committerjake <jake@FreeBSD.org>2001-11-18 03:28:28 +0000
commit195f88af017517ac846b6bec1454a875202c66a0 (patch)
treef09fe9997465235f4b8eec070d76c0adaaffebc5 /sys/sparc64/include/pcb.h
parentb1b4ae1667d70caf6bd3229ab80e7ca67bea66a6 (diff)
downloadFreeBSD-src-195f88af017517ac846b6bec1454a875202c66a0.zip
FreeBSD-src-195f88af017517ac846b6bec1454a875202c66a0.tar.gz
1. Convert the tstate saved in the pcb to a pstate and test for PSTATE_PEF
to determine if a process is using floating point. in order to avoid sign extending a 13 bit immediate. 2. We don't need to context switch cwp anymore, it is better to just fiddle the save tstate on return from traps. See exception.s 1.10 and 1.12. 3. Completely remove pcb_cwp. 4. Implement vmapbuf, vunmapbuf and vm_fault_quick. Completely remove TODOs from vm_machdep.c (yay!). Submitted by: tmm (1, 3, 4) Obtained from: existing archs (4)
Diffstat (limited to 'sys/sparc64/include/pcb.h')
-rw-r--r--sys/sparc64/include/pcb.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/sparc64/include/pcb.h b/sys/sparc64/include/pcb.h
index 7db380a..d5782b0 100644
--- a/sys/sparc64/include/pcb.h
+++ b/sys/sparc64/include/pcb.h
@@ -32,19 +32,11 @@
#include <machine/fp.h>
#include <machine/frame.h>
-/*
- * XXX: MAXWIN should probably be done dynamically, pcb_wscratch is therefore
- * at the end of the pcb.
- */
-#define MAXWIN 8
-
-/* Used in pcb_fcwp to mark the wscratch stack as empty. */
-#define PCB_CWP_EMPTY 0xff
+#define MAXWIN 8
/* NOTE: pcb_fpstate must be aligned on a 64 byte boundary. */
struct pcb {
struct fpstate pcb_fpstate;
- u_long pcb_cwp;
u_long pcb_fp;
u_long pcb_pc;
u_long pcb_y;
OpenPOWER on IntegriCloud