mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
s390x: helper functions for system emulation
When running system emulation, we need to transverse through the MMU and deliver interrupts according to the specification. This patch implements those two pieces and in addition adjusts the CPU initialization code to account for the new fields in CPUState. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
+561
-16
File diff suppressed because it is too large
Load Diff
@@ -71,3 +71,9 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
uint32_t calc_cc(CPUState *env, uint32_t cc_op, uint64_t src, uint64_t dst,
|
||||
uint64_t vr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -46,6 +46,10 @@ void cpu_dump_state(CPUState *env, FILE *f, fprintf_function cpu_fprintf,
|
||||
cpu_fprintf(f, "PSW=mask %016lx addr %016lx cc %02x\n", env->psw.mask, env->psw.addr, env->cc);
|
||||
}
|
||||
|
||||
void s390x_translate_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
void gen_intermediate_code (CPUState *env, struct TranslationBlock *tb)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user