/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (show annotations)
Sat Oct 6 16:23:47 2007 UTC (12 years, 2 months ago) by dpavlin
Original Path: upstream/dynamips-0.2.7-RC1/ppc32_nojit_trans.h
File MIME type: text/plain
File size: 1011 byte(s)
dynamips-0.2.7-RC1

1 /*
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 /* Push epilog for an x86 instruction block */
25 void ppc32_jit_tcb_push_epilog(ppc32_jit_tcb_t *block);
26
27 /* Execute JIT code */
28 void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block);
29
30 /* Set the Instruction Address (IA) register */
31 void ppc32_set_ia(ppc32_jit_tcb_t *b,m_uint32_t new_ia);
32
33 /* Set the Link Register (LR) */
34 void ppc32_set_lr(ppc32_jit_tcb_t *b,m_uint32_t new_lr);
35
36 /* Increment the number of executed instructions (performance debugging) */
37 void ppc32_inc_perf_counter(ppc32_jit_tcb_t *b);
38
39 #endif

  ViewVC Help
Powered by ViewVC 1.1.26