1 |
/* |
/* |
2 |
* Cisco 7200 (Predator) simulation platform. |
* Cisco router simulation platform. |
3 |
* Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) |
* Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) |
4 |
*/ |
*/ |
5 |
|
|
9 |
#include "utils.h" |
#include "utils.h" |
10 |
|
|
11 |
/* MIPS instruction recognition */ |
/* MIPS instruction recognition */ |
12 |
struct insn_exec_tag { |
struct mips64_insn_exec_tag { |
13 |
char *name; |
char *name; |
14 |
fastcall int (*exec)(cpu_mips_t *,mips_insn_t); |
fastcall int (*exec)(cpu_mips_t *,mips_insn_t); |
15 |
m_uint32_t mask,value; |
m_uint32_t mask,value; |
33 |
size_t insn_name_size); |
size_t insn_name_size); |
34 |
|
|
35 |
/* Single-step execution */ |
/* Single-step execution */ |
36 |
void mips64_exec_single_step(cpu_mips_t *cpu,mips_insn_t instruction); |
fastcall void mips64_exec_single_step(cpu_mips_t *cpu,mips_insn_t instruction); |
37 |
|
|
38 |
/* Run MIPS code in step-by-step mode */ |
/* Run MIPS code in step-by-step mode */ |
39 |
void *mips64_exec_run_cpu(cpu_mips_t *cpu); |
void *mips64_exec_run_cpu(cpu_gen_t *cpu); |
40 |
|
|
41 |
#endif |
#endif |