193
193
act.sa_sigaction = host_segv_handler;
194
194
sigaction(SIGSEGV, &act, NULL);
195
195
sigaction(SIGBUS, &act, NULL);
198
201
// cpu_set_log(CPU_LOG_TB_IN_ASM | CPU_LOG_TB_OUT_ASM | CPU_LOG_EXEC);
202
208
/* set user mode state (XXX: should be done automatically by