Debian Codegraph @

unstable/mips64_nojit_trans.h

raw
1 /*
2 * Cisco router simulation platform.
3 * Copyright (c) 2006 Christophe Fillot ([email protected])
4 *
5 * Just an empty JIT template file for architectures not supported by the JIT
6 * code.
7 */
8
9 #ifndef __MIPS64_NOJIT_TRANS_H__
10 #define __MIPS64_NOJIT_TRANS_H__
11
12 #include "utils.h"
13 #include "cpu.h"
14 #include "dynamips.h"
15
16 #define JIT_SUPPORT 0
17
18 static inline void mips64_jit_tcb_set_patch(u_char *code,u_char *target) {}
19 static inline void mips64_jit_tcb_set_jump(u_char **instp,u_char *target) {}
20
21 /* MIPS instruction array */
22 extern struct mips64_insn_tag mips64_insn_tags[];
23
24 /* Push epilog for an x86 instruction block */
25 void mips64_jit_tcb_push_epilog(cpu_tc_t *tc);
26
27 /* Execute JIT code */
28 void mips64_jit_tcb_exec(cpu_mips_t *cpu,cpu_tb_t *tb);
29
30 #endif