Make s390x build
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "fpu/softfloat-helpers.h"
|
||||
#include "exec/exec-all.h"
|
||||
|
||||
#define CR0_RESET 0xE0UL
|
||||
#define CR14_RESET 0xC2000000UL;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
DEF_HELPER_4(uc_tracecode, void, i32, i32, ptr, i64)
|
||||
DEF_HELPER_6(uc_traceopcode, void, ptr, i64, i64, i32, ptr, i64)
|
||||
|
||||
DEF_HELPER_2(exception, noreturn, env, i32)
|
||||
DEF_HELPER_2(data_exception, noreturn, env, i32)
|
||||
|
||||
@@ -6844,7 +6844,7 @@ static void s390x_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
|
||||
DisasContext *dc = container_of(dcbase, DisasContext, base);
|
||||
|
||||
// Unicorn: end address tells us to stop emulation
|
||||
if (dcbase->pc_next == dc->uc->addr_end) {
|
||||
if (uc_addr_is_exit(dc->uc, dcbase->pc_next)) {
|
||||
// imitate PGM exception to halt emulation
|
||||
dcbase->is_jmp = DISAS_UNICORN_HALT;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user