summaryrefslogtreecommitdiffstats
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-06-20 21:27:02 +0200
committerAlexander Graf <agraf@suse.de>2012-06-24 01:04:52 +0200
commit2a7a47fc6c19703a849a34243701a09052cb1bc6 (patch)
treeb7206463004047ffd2d1349c0c4c4ea7831d3f7c /target-ppc/helper.h
parente42a61f185f859246c14445b6e98e195eb3b977b (diff)
downloadhqemu-2a7a47fc6c19703a849a34243701a09052cb1bc6.zip
hqemu-2a7a47fc6c19703a849a34243701a09052cb1bc6.tar.gz
PPC: BookE: Implement EPR SPR
On the e500 series, accessing SPR_EPR magically turns into an access at that CPU's IACK register on the MPIC. Implement that logic to get kernels that make use of that feature work. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index ddab97b..fd04c06 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -405,6 +405,7 @@ DEF_HELPER_2(store_40x_dbcr0, void, env, tl)
DEF_HELPER_2(store_40x_sler, void, env, tl)
DEF_HELPER_2(store_booke_tcr, void, env, tl)
DEF_HELPER_2(store_booke_tsr, void, env, tl)
+DEF_HELPER_1(load_epr, tl, env)
DEF_HELPER_3(store_ibatl, void, env, i32, tl)
DEF_HELPER_3(store_ibatu, void, env, i32, tl)
DEF_HELPER_3(store_dbatl, void, env, i32, tl)
OpenPOWER on IntegriCloud