qemu-e2k/target/sparc
Alex Bennée 0336cbf853 cputlb and arm/sparc targets: convert mmuidx flushes from varg to bitmap
While the vargs approach was flexible the original MTTCG ended up
having munge the bits to a bitmap so the data could be used in
deferred work helpers. Instead of hiding that in cputlb we push the
change to the API to make it take a bitmap of MMU indexes instead.

For ARM some the resulting flushes end up being quite long so to aid
readability I've tended to move the index shifting to a new line so
all the bits being or-ed together line up nicely, for example:

    tlb_flush_page_by_mmuidx(other_cs, pageaddr,
                             (1 << ARMMMUIdx_S1SE1) |
                             (1 << ARMMMUIdx_S1SE0));

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[AT: SPARC parts only]
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
[PM: ARM parts only]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-24 10:32:46 +00:00
..
Makefile.objs Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
asi.h target-sparc: implement UA2005 scratchpad registers 2017-01-18 22:03:44 +01:00
cc_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00
cpu.h target-sparc: store the UA2005 entries in sun4u format 2017-01-18 22:03:44 +01:00
fop_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
gdbstub.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
helper.c target-sparc: Use ctpop helper 2017-01-10 08:49:55 -08:00
helper.h target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00
int32_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
int64_helper.c target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00
ldst_helper.c cputlb and arm/sparc targets: convert mmuidx flushes from varg to bitmap 2017-02-24 10:32:46 +00:00
machine.c migration: extend VMStateInfo 2017-01-24 17:54:47 +00:00
mmu_helper.c target-sparc: add more registers to dump_mmu 2017-01-18 22:03:44 +01:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
trace-events Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
translate.c target-sparc: add ST_BLKINIT_ ASIs for UA2005+ CPUs 2017-01-18 22:03:44 +01:00
vis_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
win_helper.c target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00