diff options
author | peter <peter@FreeBSD.org> | 2004-01-28 23:54:31 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-01-28 23:54:31 +0000 |
commit | 5e45c69f41132d5a819ecab326491bcbd30b567d (patch) | |
tree | 1115639665e30511d19194342ed44ec6f676c7ed /sys/amd64/include/pcb.h | |
parent | 9ba1ee132deb530c3e9886e6482d14e12f89e8be (diff) | |
download | FreeBSD-src-5e45c69f41132d5a819ecab326491bcbd30b567d.zip FreeBSD-src-5e45c69f41132d5a819ecab326491bcbd30b567d.tar.gz |
Add dbreg struct definitions for /proc/*/dbregs and a place to store the
registers in the pcb
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r-- | sys/amd64/include/pcb.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h index 1d909cd..311c473 100644 --- a/sys/amd64/include/pcb.h +++ b/sys/amd64/include/pcb.h @@ -64,11 +64,18 @@ struct pcb { u_int32_t pcb_es; u_int32_t pcb_fs; u_int32_t pcb_gs; + u_int64_t pcb_dr0; + u_int64_t pcb_dr1; + u_int64_t pcb_dr2; + u_int64_t pcb_dr3; + u_int64_t pcb_dr6; + u_int64_t pcb_dr7; struct savefpu pcb_save; u_long pcb_flags; -#define PCB_FPUINITDONE 0x01 /* fpu state is initialized */ -#define PCB_FULLCTX 0x02 /* full context restore on sysret */ +#define PCB_DBREGS 0x02 /* process using debug registers */ +#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */ +#define PCB_FULLCTX 0x80 /* full context restore on sysret */ caddr_t pcb_onfault; /* copyin/out fault recovery */ }; |