From e836906ed7a2554d56fb07d79898480e80966a98 Mon Sep 17 00:00:00 2001 From: guenther Date: Wed, 5 Sep 2018 04:23:18 +0000 Subject: [PATCH] Add defines for dealing with PCID support in cr3 ok mlarkin@ --- sys/arch/amd64/include/specialreg.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.20.1