diff options
| author | Lucas Coutinho | 2022-07-01 15:35:06 +0200 |
|---|---|---|
| committer | Daniel Henrique Barboza | 2022-07-18 18:59:43 +0200 |
| commit | acc130cf1d4c4191dd3d60a88ac4e055ea0db3ce (patch) | |
| tree | d039f831a9034e2f8c8715c55d80386d5aadc13a /target/ppc/translate/storage-ctrl-impl.c.inc | |
| parent | target/ppc: Move slbfee to decodetree (diff) | |
| download | qemu-acc130cf1d4c4191dd3d60a88ac4e055ea0db3ce.tar.gz qemu-acc130cf1d4c4191dd3d60a88ac4e055ea0db3ce.tar.xz qemu-acc130cf1d4c4191dd3d60a88ac4e055ea0db3ce.zip | |
target/ppc: Move slbsync to decodetree
Reviewed-by: Leandro Lupori <leandro.lupori@eldorado.org.br>
Signed-off-by: Lucas Coutinho <lucas.coutinho@eldorado.org.br>
Message-Id: <20220701133507.740619-11-lucas.coutinho@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/ppc/translate/storage-ctrl-impl.c.inc')
| -rw-r--r-- | target/ppc/translate/storage-ctrl-impl.c.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/ppc/translate/storage-ctrl-impl.c.inc b/target/ppc/translate/storage-ctrl-impl.c.inc index d7e2bb185f..5c569a3c75 100644 --- a/target/ppc/translate/storage-ctrl-impl.c.inc +++ b/target/ppc/translate/storage-ctrl-impl.c.inc @@ -141,6 +141,20 @@ static bool trans_SLBFEE(DisasContext *ctx, arg_SLBFEE *a) return true; } +static bool trans_SLBSYNC(DisasContext *ctx, arg_SLBSYNC *a) +{ + REQUIRE_64BIT(ctx); + REQUIRE_INSNS_FLAGS2(ctx, ISA300); + REQUIRE_SV(ctx); + +#if !defined(CONFIG_USER_ONLY) && defined(TARGET_PPC64) + gen_check_tlb_flush(ctx, true); +#else + qemu_build_not_reached(); +#endif + return true; +} + static bool do_tlbie(DisasContext *ctx, arg_X_tlbie *a, bool local) { #if defined(CONFIG_USER_ONLY) |
