summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcb.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-05-22 21:20:49 +0000
committerbde <bde@FreeBSD.org>2001-05-22 21:20:49 +0000
commit5fd5877aef9414a2f90dee01474b50bae5239284 (patch)
treea86ececbb6c0435a7b5ff76f0f5e1c2e6efc99ac /sys/amd64/include/pcb.h
parent4f95148c2f75791e51d743c5c04a6a96d87089c6 (diff)
downloadFreeBSD-src-5fd5877aef9414a2f90dee01474b50bae5239284.zip
FreeBSD-src-5fd5877aef9414a2f90dee01474b50bae5239284.tar.gz
Convert npx interrupts into traps instead of vice versa. This is much
simpler for npx exceptions that start as traps (no assembly required...) and works better for npx exceptions that start as interrupts (there is no longer a problem for nested interrupts). Submitted by: original (pre-SMPng) version by luoqi
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r--sys/amd64/include/pcb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index ebc3965..962fc6f 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -66,6 +66,7 @@ struct pcb {
u_char pcb_flags;
#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
#define PCB_DBREGS 0x02 /* process using debug registers */
+#define PCB_NPXTRAP 0x04 /* npx trap pending */
caddr_t pcb_onfault; /* copyin/out fault recovery */
int pcb_gs;
struct pcb_ext *pcb_ext; /* optional pcb extension */
OpenPOWER on IntegriCloud