Commit 2d5262f9919448f2199e6086a8af83cf4bfcdda1
1 parent
a09db21f
dcbz fix (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1429 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
target-ppc/translate.c
@@ -2400,6 +2400,8 @@ GEN_HANDLER(dcbtst, 0x1F, 0x16, 0x07, 0x03E00001, PPC_CACHE) | @@ -2400,6 +2400,8 @@ GEN_HANDLER(dcbtst, 0x1F, 0x16, 0x07, 0x03E00001, PPC_CACHE) | ||
2400 | #define op_dcbz() (*gen_op_dcbz[ctx->mem_idx])() | 2400 | #define op_dcbz() (*gen_op_dcbz[ctx->mem_idx])() |
2401 | static GenOpFunc *gen_op_dcbz[] = { | 2401 | static GenOpFunc *gen_op_dcbz[] = { |
2402 | &gen_op_dcbz_user, | 2402 | &gen_op_dcbz_user, |
2403 | + &gen_op_dcbz_user, | ||
2404 | + &gen_op_dcbz_kernel, | ||
2403 | &gen_op_dcbz_kernel, | 2405 | &gen_op_dcbz_kernel, |
2404 | }; | 2406 | }; |
2405 | #endif | 2407 | #endif |