14 lines
274 B
C
14 lines
274 B
C
|
#include "qemu/osdep.h"
|
||
|
#include "cpu.h"
|
||
|
#include "exec/exec-all.h"
|
||
|
#include "qemu/host-utils.h"
|
||
|
#include "exec/helper-proto.h"
|
||
|
|
||
|
void helper_raise_exception(CPUE2KState *env, int tt)
|
||
|
{
|
||
|
CPUState *cs = env_cpu(env);
|
||
|
|
||
|
cs->exception_index = tt;
|
||
|
cpu_loop_exit(cs);
|
||
|
}
|