summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2002-03-19 01:17:12 +0000
committermickey <mickey@openbsd.org>2002-03-19 01:17:12 +0000
commitf73626176540aa9a354cd87246b3da785b9e9c4b (patch)
treec77f3699c2dca7c0b5c35c9e960975fd08f52881
parentdo things uncached for now (diff)
downloadwireguard-openbsd-f73626176540aa9a354cd87246b3da785b9e9c4b.tar.xz
wireguard-openbsd-f73626176540aa9a354cd87246b3da785b9e9c4b.zip
htlb defs from the book
-rw-r--r--sys/arch/hppa/include/reg.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/reg.h b/sys/arch/hppa/include/reg.h
index fb5774ebc9b..46486f79c02 100644
--- a/sys/arch/hppa/include/reg.h
+++ b/sys/arch/hppa/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.8 2002/03/15 19:02:54 mickey Exp $ */
+/* $OpenBSD: reg.h,v 1.9 2002/03/19 01:17:12 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -153,6 +153,16 @@
#define DR_ITLB 9
+#define DR0_PCXL2_HTLB_ADDR 24 /* page address of the htlb */
+#define DR0_PCXL2_HTLB_CFG 25 /* htlb config */
+#define DR0_PCXL2_HTLB_P 0 /* r latches power fail signal */
+#define DR0_PCXL2_HTLB_MASK 19 /* w 12bit mask of the hash */
+#define DR0_PCXL2_HTLB_FP 26 /* r/w 3bit FP delay */
+#define DR0_PCXL2_HTLB_I 28 /* r/w disable ITLB htlb lookup */
+#define DR0_PCXL2_HTLB_U 29 /* r/w set cr28 only if tag nomatch */
+#define DR0_PCXL2_HTLB_N 30 /* r/w set cr28 from w3 or w7 (0) */
+#define DR0_PCXL2_HTLB_D 31 /* r/w disable DTLB htlb lookup */
+
#define DR_ITLB_SIZE_1 24
#define DR_ITLB_SIZE_0 25