~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/target-i386/fake-exec.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-02-26 13:10:57 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20080226131057-s67x6l89mtjw1x9b
Tags: 1:62+dfsg-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * fake-exec.c
 
3
 *
 
4
 * This is a file for stub functions so that compilation is possible
 
5
 * when TCG CPU emulation is disabled during compilation.
 
6
 *
 
7
 * Copyright 2007 IBM Corporation.
 
8
 * Added by & Authors:
 
9
 *      Jerone Young <jyoung5@us.ibm.com>
 
10
 * This work is licensed under the GNU GPL licence version 2 or later.
 
11
 *
 
12
 */
 
13
#include "exec.h"
 
14
#include "cpu.h"
 
15
 
 
16
int code_copy_enabled = 0;
 
17
 
 
18
CCTable cc_table[CC_OP_NB];
 
19
 
 
20
void cpu_dump_statistics (CPUState *env, FILE*f,
 
21
                          int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
 
22
                          int flags)
 
23
{
 
24
}
 
25
 
 
26
unsigned long code_gen_max_block_size(void)
 
27
{
 
28
    return 32;
 
29
}
 
30
 
 
31
void cpu_gen_init(void)
 
32
{
 
33
}
 
34
 
 
35
int cpu_restore_state(TranslationBlock *tb,
 
36
                      CPUState *env, unsigned long searched_pc,
 
37
                      void *puc)
 
38
 
 
39
{
 
40
    return 0;
 
41
}
 
42
 
 
43
int cpu_x86_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
 
44
{
 
45
    return 0;
 
46
}
 
47
 
 
48
void flush_icache_range(unsigned long start, unsigned long stop)
 
49
{
 
50
}
 
51
 
 
52
void optimize_flags_init(void)
 
53
{
 
54
}