/[dynamips]/upstream/dynamips-0.2.7-RC2/ppc32_nojit_trans.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /upstream/dynamips-0.2.7-RC2/ppc32_nojit_trans.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (hide annotations)
Sat Oct 6 16:24:54 2007 UTC (12 years, 2 months ago) by dpavlin
File MIME type: text/plain
File size: 1085 byte(s)
dynamips-0.2.7-RC2

1 dpavlin 7 /*
2     * Cisco router simulation platform.
3     * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)
4     */
5    
6     #ifndef __PPC32_NOJIT_TRANS_H__
7     #define __PPC32_NOJIT_TRANS_H__
8    
9     #include "utils.h"
10     #include "x86-codegen.h"
11     #include "cpu.h"
12     #include "ppc32_exec.h"
13     #include "dynamips.h"
14    
15     #define JIT_SUPPORT 0
16    
17     /* Wrappers to x86-codegen functions */
18     #define ppc32_jit_tcb_set_patch(a,b)
19     #define ppc32_jit_tcb_set_jump(a,b)
20    
21     /* PPC instruction array */
22     extern struct ppc32_insn_tag ppc32_insn_tags[];
23    
24 dpavlin 8 /* Virtual Breakpoint */
25     void ppc32_emit_breakpoint(ppc32_jit_tcb_t *b);
26    
27 dpavlin 7 /* Push epilog for an x86 instruction block */
28     void ppc32_jit_tcb_push_epilog(ppc32_jit_tcb_t *block);
29    
30     /* Execute JIT code */
31     void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block);
32    
33     /* Set the Instruction Address (IA) register */
34     void ppc32_set_ia(ppc32_jit_tcb_t *b,m_uint32_t new_ia);
35    
36     /* Set the Link Register (LR) */
37     void ppc32_set_lr(ppc32_jit_tcb_t *b,m_uint32_t new_lr);
38    
39     /* Increment the number of executed instructions (performance debugging) */
40     void ppc32_inc_perf_counter(ppc32_jit_tcb_t *b);
41    
42     #endif

  ViewVC Help
Powered by ViewVC 1.1.26