X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-sh4%2Fcpu-qom.h;h=c04e78631b3048121bc6c274233e11f7357b0320;hb=5b50e790f9e9403d11b4164193b76530ee85a2a1;hp=01d16372b54eec26b2f91e40b8addab4d5049be3;hpb=ffeec223b55ea696567ed544016824199cd7c7bc;p=qemu.git diff --git a/target-sh4/cpu-qom.h b/target-sh4/cpu-qom.h index 01d16372b..c04e78631 100644 --- a/target-sh4/cpu-qom.h +++ b/target-sh4/cpu-qom.h @@ -76,7 +76,7 @@ typedef struct SuperHCPU { static inline SuperHCPU *sh_env_get_cpu(CPUSH4State *env) { - return SUPERH_CPU(container_of(env, SuperHCPU, env)); + return container_of(env, SuperHCPU, env); } #define ENV_GET_CPU(e) CPU(sh_env_get_cpu(e)) @@ -86,5 +86,8 @@ static inline SuperHCPU *sh_env_get_cpu(CPUSH4State *env) void superh_cpu_do_interrupt(CPUState *cpu); void superh_cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, int flags); +hwaddr superh_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); +int superh_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg); +int superh_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); #endif