diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2018-09-05 04:23:19 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2018-09-05 04:23:19 +0000 |
commit | edcadc11d3e6fb19f1f4e563eb4e6843aa56eda1 (patch) | |
tree | 7977ef80293ba28c573c96e7ad0146c3cadd546f /sys/arch/amd64 | |
parent | 8ea37d1cdac2062741ec6d592a0f448afd75c211 (diff) |
Add defines for dealing with PCID support in cr3
ok mlarkin@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/include/specialreg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/specialreg.h b/sys/arch/amd64/include/specialreg.h index 7cbea305382..b276a53a939 100644 --- a/sys/arch/amd64/include/specialreg.h +++ b/sys/arch/amd64/include/specialreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specialreg.h,v 1.79 2018/08/21 19:04:40 deraadt Exp $ */ +/* $OpenBSD: specialreg.h,v 1.80 2018/09/05 04:23:18 guenther Exp $ */ /* $NetBSD: specialreg.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */ /* $NetBSD: x86/specialreg.h,v 1.2 2003/04/25 21:54:30 fvdl Exp $ */ @@ -72,8 +72,11 @@ /* * bits in CR3 */ +#define CR3_PCID 0xfffULL #define CR3_PWT (1ULL << 3) #define CR3_PCD (1ULL << 4) +#define CR3_REUSE_PCID (1ULL << 63) +#define CR3_PADDR 0x7ffffffffffff000ULL /* * bits in the pentiums %cr4 register: |