diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-18 08:47:10 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-18 08:47:10 +0000 |
commit | 36f696517b1723d627b79aa924bac7c678de01b0 (patch) | |
tree | ea0063b4b3fdd86185f8e73885316f07b6c0dbe1 /target-ppc/op_mem.h | |
parent | 33d68b5f00011c8101aec93ba1bb2b470e35151d (diff) |
As icbi is not a priviledge instruction and is treated as a load by the MMU
it needs to be implemented for every MMU translation mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2492 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_mem.h')
-rw-r--r-- | target-ppc/op_mem.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target-ppc/op_mem.h b/target-ppc/op_mem.h index 8aa799f651..f5a8c4b64f 100644 --- a/target-ppc/op_mem.h +++ b/target-ppc/op_mem.h @@ -730,6 +730,21 @@ void OPPROTO glue(op_dcbz_64, MEMSUFFIX) (void) } #endif +/* Instruction cache block invalidate */ +void OPPROTO glue(op_icbi, MEMSUFFIX) (void) +{ + glue(do_icbi, MEMSUFFIX)(); + RETURN(); +} + +#if defined(TARGET_PPC64) +void OPPROTO glue(op_icbi_64, MEMSUFFIX) (void) +{ + glue(do_icbi_64, MEMSUFFIX)(); + RETURN(); +} +#endif + /* External access */ void OPPROTO glue(op_eciwx, MEMSUFFIX) (void) { |