summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-03-05 16:52:50 +0000
committerjhb <jhb@FreeBSD.org>2009-03-05 16:52:50 +0000
commit0f16fc12d50334c0ec1c559860a07fd2c8747e0f (patch)
tree0d0d0f12224c41f68840b69f266294cd07264a4e
parentdc03a05b160cc359fc759fbe73605d6e1947badd (diff)
downloadFreeBSD-src-0f16fc12d50334c0ec1c559860a07fd2c8747e0f.zip
FreeBSD-src-0f16fc12d50334c0ec1c559860a07fd2c8747e0f.tar.gz
Move the PCB flag macros up next to the 'pcb_flags' member in the struct.
-rw-r--r--sys/amd64/include/pcb.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 43b59e5..ac14c55 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -56,6 +56,12 @@ struct pcb {
register_t pcb_fsbase;
register_t pcb_gsbase;
u_long pcb_flags;
+#define PCB_DBREGS 0x02 /* process using debug registers */
+#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */
+#define PCB_GS32BIT 0x20 /* linux gs switch */
+#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */
+#define PCB_FULLCTX 0x80 /* full context restore on sysret */
+
u_int32_t pcb_ds;
u_int32_t pcb_es;
u_int32_t pcb_fs;
@@ -68,11 +74,6 @@ struct pcb {
u_int64_t pcb_dr7;
struct savefpu pcb_save;
-#define PCB_DBREGS 0x02 /* process using debug registers */
-#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */
-#define PCB_GS32BIT 0x20 /* linux gs switch */
-#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */
-#define PCB_FULLCTX 0x80 /* full context restore on sysret */
caddr_t pcb_onfault; /* copyin/out fault recovery */
OpenPOWER on IntegriCloud