summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2011-06-21 14:02:56 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-24 13:45:56 -0500
commit99d638310adbe9340981ce1fe06c47e6988ab369 (patch)
tree84104b936ae3f9e525b0058547b235240203e28d /src/kernel
parentd85739a1ad9e58339f5a58225da2ba5c7476c68b (diff)
downloadtalos-hostboot-99d638310adbe9340981ce1fe06c47e6988ab369.tar.gz
talos-hostboot-99d638310adbe9340981ce1fe06c47e6988ab369.zip
Add device segment to SLB init
Change-Id: Ia0c9bcf4840a31808018f595875d99fa6e282e2f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/155 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/vmmmgr.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/vmmmgr.C b/src/kernel/vmmmgr.C
index 34806a19b..0fce50b7e 100644
--- a/src/kernel/vmmmgr.C
+++ b/src/kernel/vmmmgr.C
@@ -57,6 +57,13 @@ void VmmManager::initSLB()
asm volatile("slbia" ::: "memory");
asm volatile("isync" ::: "memory");
asm volatile("slbmte %0, %1" :: "r"(slbRS), "r"(slbRB) : "memory");
+
+ // ESID = 2TB, V = 1, Index = 3
+ slbRB = 0x0000020008000003;
+ // B = 01 (1TB), VSID = 2TB, Ks = 0, Kp = 1, NLCLP = 0
+ slbRS = 0x4000020000000400;
+
+ asm volatile("slbmte %0, %1" :: "r"(slbRS), "r"(slbRB) : "memory");
asm volatile("isync" ::: "memory");
}
OpenPOWER on IntegriCloud