aboutsummaryrefslogtreecommitdiff
path: root/slof/ofw.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-12-03 15:02:36 +1100
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-03-22 15:22:00 +0100
commit39426bad550f340dcf2b544ae23f465fbbbc42f5 (patch)
tree1974f16adec8b1322b4adeaa65783780a5ebeb25 /slof/ofw.S
parentcf69a59a3edefc3bea57cceea2cbedd25c7b680d (diff)
downloadSLOF-39426bad550f340dcf2b544ae23f465fbbbc42f5.zip
SLOF-39426bad550f340dcf2b544ae23f465fbbbc42f5.tar.gz
SLOF-39426bad550f340dcf2b544ae23f465fbbbc42f5.tar.bz2
Initial qemu/KVM board support
Added a new board for SLOF running on KVM/qemu. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'slof/ofw.S')
-rw-r--r--slof/ofw.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/slof/ofw.S b/slof/ofw.S
index a717314..a8e9c91 100644
--- a/slof/ofw.S
+++ b/slof/ofw.S
@@ -33,6 +33,8 @@
/* fill in handler address */
/* this only works if paflof is running below 4GB */
+ mfmsr r0
+ mtsrr1 r0
lis r3, _slof_text@h
ori r3, r3, _slof_text@l
ld r3, 0(r3)