/[dynamips]/upstream/dynamips-0.2.7-RC2/ppc32_nojit_trans.c
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.c

Parent Directory Parent Directory | Revision Log Revision Log


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

1 /*
2 * Cisco router simulation platform.
3 * Copyright (c) 2006 Christophe Fillot (cf@utc.fr)
4 *
5 * Just an empty JIT template file for architectures not supported by the JIT
6 * code.
7 */
8
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <unistd.h>
12 #include <string.h>
13 #include <sys/types.h>
14 #include <sys/stat.h>
15 #include <sys/mman.h>
16 #include <fcntl.h>
17
18 #include "cpu.h"
19 #include "ppc32_jit.h"
20 #include "ppc32_nojit_trans.h"
21
22 #define EMPTY(func) func { \
23 fprintf(stderr,"This function should not be called: "#func"\n"); \
24 abort(); \
25 }
26
27 EMPTY(void ppc32_emit_breakpoint(ppc32_jit_tcb_t *block));
28 EMPTY(void ppc32_jit_tcb_push_epilog(ppc32_jit_tcb_t *block));
29 EMPTY(void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t *block));
30 EMPTY(void ppc32_set_ia(ppc32_jit_tcb_t *b,m_uint32_t new_ia));
31 EMPTY(void ppc32_set_lr(ppc32_jit_tcb_t *b,m_uint32_t new_lr));
32 EMPTY(void ppc32_inc_perf_counter(ppc32_jit_tcb_t *b));
33
34 /* PowerPC instruction array */
35 struct ppc32_insn_tag ppc32_insn_tags[] = {
36 { NULL, 0, 0 },
37 };

  ViewVC Help
Powered by ViewVC 1.1.26