summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/slb.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2015-03-13 00:08:58 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2015-03-13 00:08:58 +0000
commit2c2f3ffe1dfe97338a30c938750b7a149d3f926f (patch)
tree6cd889eb287bebf166c40326ae25443ac42f4cd5 /sys/powerpc/include/slb.h
parent56096cc1a685191104ea3dc84d81f1e239722938 (diff)
downloadFreeBSD-src-2c2f3ffe1dfe97338a30c938750b7a149d3f926f.zip
FreeBSD-src-2c2f3ffe1dfe97338a30c938750b7a149d3f926f.tar.gz
Deallocate any leftover page table entries in the LPAR at boot. This
prevents contamination from a previous kernel (e.g. after shutdown -r).
Diffstat (limited to 'sys/powerpc/include/slb.h')
-rw-r--r--sys/powerpc/include/slb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/slb.h b/sys/powerpc/include/slb.h
index 637110c..3242590 100644
--- a/sys/powerpc/include/slb.h
+++ b/sys/powerpc/include/slb.h
@@ -62,6 +62,9 @@
#define SLBE_ESID_MASK 0xfffffffff0000000UL /* Effective segment ID mask */
#define SLBE_ESID_SHIFT 28
+/* Virtual real-mode VSID in LPARs */
+#define VSID_VRMA 0x1ffffff
+
/*
* User segment for copyin/out
*/
OpenPOWER on IntegriCloud