--- upstream/dynamips-0.2.7-RC1/cpu.h 2007/10/06 16:23:47 7 +++ upstream/dynamips-0.2.7/cpu.h 2007/10/06 16:29:14 10 @@ -8,9 +8,7 @@ #include #include "utils.h" - -/* Forward declaration for generic CPU type */ -typedef struct cpu_gen cpu_gen_t; +#include "jit_op.h" #include "mips64.h" #include "mips64_cp0.h" @@ -100,6 +98,17 @@ /* Memory access log for fault debugging */ u_int memlog_pos; memlog_access_t memlog_array[MEMLOG_COUNT]; + + /* Statistics */ + m_uint64_t dev_access_counter; + + /* JIT op array for current compiled page */ + u_int jit_op_array_size; + jit_op_t **jit_op_array; + jit_op_t **jit_op_current; + + /* JIT op pool */ + jit_op_t *jit_op_pool[JIT_OP_POOL_NR]; }; /* CPU group definition */