summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-09-13 13:27:07 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-09-13 13:27:07 -0500
commit2bc4d154dd12ccd2280012ddb1439020ca79eb79 (patch)
tree0928c3b3ac464191c2283077bd614e878134b922 /src
parent51621c156c03feff0d5e4246ecd2e18473fd347d (diff)
downloadtalos-hostboot-2bc4d154dd12ccd2280012ddb1439020ca79eb79.tar.gz
talos-hostboot-2bc4d154dd12ccd2280012ddb1439020ca79eb79.zip
Fix storage protection issue on R-only pages.
Diffstat (limited to 'src')
-rw-r--r--src/kernel/vmmmgr.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/vmmmgr.C b/src/kernel/vmmmgr.C
index 3aac6fed1..43348ae67 100644
--- a/src/kernel/vmmmgr.C
+++ b/src/kernel/vmmmgr.C
@@ -51,8 +51,8 @@ void VmmManager::initSLB()
// ESID = 0, V = 1, Index = 1.
slbRB = 0x0000000008000001;
- // B = 01 (1TB), VSID = 0, Ks = 0, Kp = 1, NLCLP = 0
- slbRS = 0x4000000000000400;
+ // B = 01 (1TB), VSID = 0, Ks = 1, Kp = 1, NLCLP = 0
+ slbRS = 0x4000000000000C00;
asm volatile("slbmte %0, %1" :: "r"(slbRS), "r"(slbRB) : "memory");
asm volatile("isync" ::: "memory");
OpenPOWER on IntegriCloud