aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/pcb.h
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>1999-07-09 04:16:00 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>1999-07-09 04:16:00 +0000
commitab001a72bef18732f5c48efedcc6d2285aa8fc81 (patch)
tree041d2aa2a0fba42e80b16789e7d05986d8bcfab3 /sys/amd64/include/pcb.h
parentbd17e46e5537768cc2677acf080f3980c9041b8c (diff)
downloadsrc-ab001a72bef18732f5c48efedcc6d2285aa8fc81.tar.gz
src-ab001a72bef18732f5c48efedcc6d2285aa8fc81.zip
Implement support for hardware debug registers on the i386.
Submitted by: Brian Dean <brdean@unx.sas.com>
Notes
Notes: svn path=/head/; revision=48691
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r--sys/amd64/include/pcb.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 2dbc707d0fcc..5cee924dd9ff 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
- * $Id: pcb.h,v 1.27 1999/04/28 01:04:05 luoqi Exp $
+ * $Id: pcb.h,v 1.28 1999/06/01 18:20:06 jlemon Exp $
*/
#ifndef _I386_PCB_H_
@@ -54,11 +54,20 @@ struct pcb {
int pcb_esp;
int pcb_ebx;
int pcb_eip;
+
+ int pcb_dr0;
+ int pcb_dr1;
+ int pcb_dr2;
+ int pcb_dr3;
+ int pcb_dr6;
+ int pcb_dr7;
+
caddr_t pcb_ldt; /* per process (user) LDT */
int pcb_ldt_len; /* number of LDT entries */
struct save87 pcb_savefpu; /* floating point state for 287/387 */
u_char pcb_flags;
#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
+#define PCB_DBREGS 0x02 /* process using debug registers */
caddr_t pcb_onfault; /* copyin/out fault recovery */
#ifdef SMP
u_long pcb_mpnest;