1 |
/* |
/* |
2 |
* Cisco 7200 (Predator) simulation platform. |
* Cisco router simulation platform. |
3 |
* Copyright (c) 2006 Christophe Fillot (cf@utc.fr) |
* Copyright (c) 2006 Christophe Fillot (cf@utc.fr) |
4 |
* |
* |
5 |
* MIPS Instruction Lookup Tables. |
* MIPS Instruction Lookup Tables. |
10 |
|
|
11 |
#include "utils.h" |
#include "utils.h" |
12 |
#include "hash.h" |
#include "hash.h" |
|
#include "mips64.h" |
|
|
#include "dynamips.h" |
|
13 |
|
|
14 |
/* Forward declaration for instruction lookup table */ |
/* Forward declaration for instruction lookup table */ |
15 |
typedef struct insn_lookup insn_lookup_t; |
typedef struct insn_lookup insn_lookup_t; |
96 |
} |
} |
97 |
|
|
98 |
/* Create an instruction lookup table */ |
/* Create an instruction lookup table */ |
99 |
insn_lookup_t *ilt_create(int nr_insn,ilt_get_insn_cbk_t get_insn, |
insn_lookup_t *ilt_create(char *table_name, |
100 |
|
int nr_insn,ilt_get_insn_cbk_t get_insn, |
101 |
ilt_check_cbk_t chk_lo,ilt_check_cbk_t chk_hi); |
ilt_check_cbk_t chk_lo,ilt_check_cbk_t chk_hi); |
102 |
|
|
103 |
#endif |
#endif |