diff options
author | aiju <devnull@localhost> | 2017-06-12 19:03:07 +0000 |
---|---|---|
committer | aiju <devnull@localhost> | 2017-06-12 19:03:07 +0000 |
commit | 773be02aa18095e857c6659416d84951ceb60d41 (patch) | |
tree | 26daede4230e14d46d42efbcd6eab8e68adc7687 /sys/src/9/pc/dat.h | |
parent | 1cfa405d0a272cbd7df22d4b9767eb57e21cc21f (diff) |
kernel: add support for hardware watchpoints
Diffstat (limited to 'sys/src/9/pc/dat.h')
-rw-r--r-- | sys/src/9/pc/dat.h | 3 |
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; |