diff options
author | jhb <jhb@FreeBSD.org> | 2006-11-17 20:27:01 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-11-17 20:27:01 +0000 |
commit | 500c68689fe5387192dc5847af52413cf40bc4e3 (patch) | |
tree | 63928ef6e7214e0703d43d428f3319ff1640bd02 /sys/amd64/include/reg.h | |
parent | 13fc897c39d908dee24d44cc0765ca966b4a385e (diff) | |
download | FreeBSD-src-500c68689fe5387192dc5847af52413cf40bc4e3.zip FreeBSD-src-500c68689fe5387192dc5847af52413cf40bc4e3.tar.gz |
Add support for 8 byte hardware watches in long mode. Kernel hardware
watches support 8 byte watches. For userland, we disallow 8 byte watches
for 32-bit tasks.
Diffstat (limited to 'sys/amd64/include/reg.h')
-rw-r--r-- | sys/amd64/include/reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/reg.h b/sys/amd64/include/reg.h index 9358f05..9ca092f 100644 --- a/sys/amd64/include/reg.h +++ b/sys/amd64/include/reg.h @@ -97,6 +97,7 @@ struct dbreg { #define DBREG_DR7_LEN_1 0x00 /* 1 byte length */ #define DBREG_DR7_LEN_2 0x01 #define DBREG_DR7_LEN_4 0x03 +#define DBREG_DR7_LEN_8 0x02 #define DBREG_DR7_EXEC 0x00 /* break on execute */ #define DBREG_DR7_WRONLY 0x01 /* break on write */ #define DBREG_DR7_RDWR 0x03 /* break on read or write */ |