qemu/target/nios2
Philippe Mathieu-Daudé 3cb1a410ef target: Include missing 'cpu.h'
These target-specific files use the target-specific CPU state
but lack to include "cpu.h"; i.e.:

    ../target/riscv/pmp.h:61:23: error: unknown type name 'CPURISCVState'
    void pmpcfg_csr_write(CPURISCVState *env, uint32_t reg_index,
                          ^
    ../target/nios2/mmu.h:43:18: error: unknown type name 'CPUNios2State'
    void mmu_flip_um(CPUNios2State *env, unsigned int um);
                     ^
    ../target/microblaze/mmu.h:88:19: error: unknown type name 'CPUMBState'; did you mean 'CPUState'?
    uint32_t mmu_read(CPUMBState *env, bool ea, uint32_t rn);
                      ^~~~~~~~~~
                      CPUState

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220214183144.27402-10-f4bug@amsat.org>
2022-03-06 13:15:42 +01:00
..
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu.c target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
cpu.h target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
helper.c target/nios2: Implement nios2_cpu_record_sigsegv 2021-11-02 07:00:52 -04:00
helper.h target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build target/nios2: Only build mmu.c for system mode 2022-03-03 09:37:18 -10:00
mmu.c target/nios2: Split mmu_write 2022-03-03 09:37:47 -10:00
mmu.h target: Include missing 'cpu.h' 2022-03-06 13:15:42 +01:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
nios2-semi.c linux-user: Don't include gdbstub.h in qemu.h 2021-09-13 20:35:45 +02:00
op_helper.c target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
trace-events target/nios2: Replace MMU_LOG with tracepoints 2022-03-03 09:36:38 -10:00
translate.c target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00