📄 ppc32_nojit_trans.c
字号:
/* * Cisco router simulation platform. * Copyright (c) 2006 Christophe Fillot (cf@utc.fr) * * Just an empty JIT template file for architectures not supported by the JIT * code. */#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/mman.h>#include <fcntl.h>#include "cpu.h"#include "ppc32_jit.h"#include "ppc32_nojit_trans.h"#define EMPTY(func) func { \ fprintf(stderr,"This function should not be called: "#func"\n"); \ abort(); \}EMPTY(void ppc32_emit_breakpoint(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block));EMPTY(void ppc32_jit_tcb_push_epilog(u_char **ptr));EMPTY(void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block));EMPTY(void ppc32_set_ia(u_char **ptr,m_uint32_t new_ia));EMPTY(void ppc32_inc_perf_counter(cpu_ppc_t *cpu));EMPTY(void ppc32_jit_init_hreg_mapping(cpu_ppc_t *cpu));EMPTY(void ppc32_op_insn_output(ppc32_jit_tcb_t *b,jit_op_t *op));EMPTY(void ppc32_op_load_gpr(ppc32_jit_tcb_t *b,jit_op_t *op));EMPTY(void ppc32_op_store_gpr(ppc32_jit_tcb_t *b,jit_op_t *op));EMPTY(void ppc32_op_update_flags(ppc32_jit_tcb_t *b,jit_op_t *op));EMPTY(void ppc32_op_move_host_reg(ppc32_jit_tcb_t *b,jit_op_t *op));EMPTY(void ppc32_op_set_host_reg_imm32(ppc32_jit_tcb_t *b,jit_op_t *op));EMPTY(void ppc32_set_page_jump(cpu_ppc_t *cpu,ppc32_jit_tcb_t *b));/* PowerPC instruction array */struct ppc32_insn_tag ppc32_insn_tags[] = { { NULL, 0, 0 },};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -