diff options
author | Alexander Graf | 2012-06-20 21:27:02 +0200 |
---|---|---|
committer | Alexander Graf | 2012-06-24 01:04:52 +0200 |
commit | 2a7a47fc6c19703a849a34243701a09052cb1bc6 (patch) | |
tree | b7206463004047ffd2d1349c0c4c4ea7831d3f7c /target-ppc/helper.h | |
parent | PPC: Add support for MSR_CM (diff) | |
download | qemu-2a7a47fc6c19703a849a34243701a09052cb1bc6.tar.gz qemu-2a7a47fc6c19703a849a34243701a09052cb1bc6.tar.xz qemu-2a7a47fc6c19703a849a34243701a09052cb1bc6.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index ddab97b379..fd04c063e2 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) |