summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/dat.h
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-06-12 19:03:07 +0000
committeraiju <devnull@localhost>2017-06-12 19:03:07 +0000
commit773be02aa18095e857c6659416d84951ceb60d41 (patch)
tree26daede4230e14d46d42efbcd6eab8e68adc7687 /sys/src/9/pc/dat.h
parent1cfa405d0a272cbd7df22d4b9767eb57e21cc21f (diff)
kernel: add support for hardware watchpoints
Diffstat (limited to 'sys/src/9/pc/dat.h')
-rw-r--r--sys/src/9/pc/dat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/9/pc/dat.h b/sys/src/9/pc/dat.h
index 35bf8b4d6..14f406389 100644
--- a/sys/src/9/pc/dat.h
+++ b/sys/src/9/pc/dat.h
@@ -159,6 +159,8 @@ struct PMMU
Segdesc gdt[NPROCSEG]; /* per process descriptors */
Segdesc *ldt; /* local descriptor table */
int nldt; /* number of ldt descriptors allocated */
+
+ u32int dr[8]; /* debug registers */
};
/*
@@ -252,6 +254,7 @@ struct Mach
char* cpuidtype;
int havetsc;
int havepge;
+ int havewatchpt8;
uvlong tscticks;
int pdballoc;
int pdbfree;