30 |
#include "exec-all.h" |
#include "exec-all.h" |
31 |
#include "disas.h" |
#include "disas.h" |
32 |
|
|
33 |
|
extern int dyngen_code(uint8_t *gen_code_buf, |
34 |
|
uint16_t *label_offsets, uint16_t *jmp_offsets, |
35 |
|
const uint16_t *opc_buf, const uint32_t *opparam_buf, const long *gen_labels); |
36 |
|
|
37 |
enum { |
enum { |
38 |
#define DEF(s, n, copy_size) INDEX_op_ ## s, |
#define DEF(s, n, copy_size) INDEX_op_ ## s, |
39 |
#include "opc.h" |
#include "opc.h" |
41 |
NB_OPS, |
NB_OPS, |
42 |
}; |
}; |
43 |
|
|
|
#include "dyngen.h" |
|
|
#include "op.h" |
|
|
|
|
44 |
uint16_t gen_opc_buf[OPC_BUF_SIZE]; |
uint16_t gen_opc_buf[OPC_BUF_SIZE]; |
45 |
uint32_t gen_opparam_buf[OPPARAM_BUF_SIZE]; |
uint32_t gen_opparam_buf[OPPARAM_BUF_SIZE]; |
46 |
long gen_labels[OPC_BUF_SIZE]; |
long gen_labels[OPC_BUF_SIZE]; |