25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_x86.c,v 1.15 2006/06/16 18:31:26 debug Exp $ |
* $Id: cpu_x86.c,v 1.16 2006/06/24 21:47:23 debug Exp $ |
29 |
* |
* |
30 |
* x86 (and amd64) CPU emulation. |
* x86 (and amd64) CPU emulation. |
31 |
* |
* |
95 |
|
|
96 |
cpu->cd.x86.model = models[i]; |
cpu->cd.x86.model = models[i]; |
97 |
|
|
98 |
cpu->translate_address = x86_translate_address; |
cpu->translate_v2p = x86_translate_v2p; |
99 |
|
|
100 |
/* Initial startup is in 16-bit real mode: */ |
/* Initial startup is in 16-bit real mode: */ |
101 |
cpu->pc = 0xfff0; |
cpu->pc = 0xfff0; |
142 |
debug("%s", cpu->name); |
debug("%s", cpu->name); |
143 |
} |
} |
144 |
|
|
|
x86_init_64bit_dummy_tables(cpu); |
|
|
|
|
145 |
return 1; |
return 1; |
146 |
} |
} |
147 |
|
|
3162 |
} |
} |
3163 |
|
|
3164 |
|
|
3165 |
#define TRANSLATE_ADDRESS x86_translate_address |
#define TRANSLATE_ADDRESS x86_translate_v2p |
3166 |
#include "memory_x86.c" |
#include "memory_x86.c" |
3167 |
#undef TRANSLATE_ADDRESS |
#undef TRANSLATE_ADDRESS |
3168 |
|
|