Go to the source code of this file.
Classes | |
struct | isa_pic_data |
struct | breakpoints |
struct | statistics |
struct | tick_functions |
struct | x11_md |
struct | machine |
struct | machine_entry_subtype |
struct | machine_entry |
Functions | |
void | automachine_init (void) |
struct machine * | machine_new (char *name, struct emul *emul, int id) |
void | machine_destroy (struct machine *machine) |
int | machine_name_to_type (char *stype, char *ssubtype, int *type, int *subtype, int *arch) |
void | machine_add_breakpoint_string (struct machine *machine, char *str) |
void | machine_add_tickfunction (struct machine *machine, void(*func)(struct cpu *, void *), void *extra, int clockshift) |
void | machine_statistics_init (struct machine *, char *fname) |
void | machine_register (char *name, MACHINE_SETUP_TYPE(setup)) |
void | machine_setup (struct machine *) |
void | machine_memsize_fix (struct machine *) |
void | machine_default_cputype (struct machine *) |
void | machine_dumpinfo (struct machine *) |
int | machine_run (struct machine *machine) |
void | machine_list_available_types_and_cpus (void) |
struct machine_entry * | machine_entry_new (const char *name, int arch, int oldstyle_type) |
void | machine_entry_add_alias (struct machine_entry *me, const char *name) |
void | machine_entry_add_subtype (struct machine_entry *me, const char *name, int oldstyle_subtype,...) |
void | machine_entry_register (struct machine_entry *me, int arch) |
void | machine_init (void) |
#define ARCH_ALPHA 4 |
Definition at line 205 of file machine.h.
Referenced by emul_machine_setup(), and MACHINE_REGISTER().
#define ARCH_ARM 5 |
Definition at line 206 of file machine.h.
Referenced by emul_machine_setup(), MACHINE_REGISTER(), and of_emul().
#define ARCH_M88K 7 |
Definition at line 208 of file machine.h.
Referenced by cpu_functioncall_trace(), cpu_show_cycles(), emul_machine_setup(), and MACHINE_REGISTER().
#define ARCH_MIPS 1 |
Definition at line 203 of file machine.h.
Referenced by DEVICE_ACCESS(), emul_machine_setup(), and MACHINE_REGISTER().
#define ARCH_NOARCH 0 |
Definition at line 202 of file machine.h.
Referenced by file_load().
#define ARCH_PPC 2 |
Definition at line 204 of file machine.h.
Referenced by DEVICE_ACCESS(), emul_machine_setup(), MACHINE_REGISTER(), and of_emul().
#define ARCH_SH 6 |
Definition at line 207 of file machine.h.
Referenced by emul_machine_setup(), and MACHINE_REGISTER().
#define DEC_MEMMAP_ADDR 0xffffffffbfc30000ULL |
Definition at line 280 of file machine.h.
Referenced by MACHINE_SETUP().
#define DEC_PROM_CALLBACK_STRUCT 0xffffffffbfc04000ULL |
Definition at line 275 of file machine.h.
Referenced by MACHINE_SETUP().
#define DEC_PROM_EMULATION 0xffffffffbfc08000ULL |
Definition at line 276 of file machine.h.
Referenced by MACHINE_SETUP().
#define DEC_PROM_INITIAL_ARGV (INITIAL_STACK_POINTER + 0x80) |
Definition at line 277 of file machine.h.
Referenced by MACHINE_SETUP().
#define DEC_PROM_STRINGS 0xffffffffbfc20000ULL |
Definition at line 278 of file machine.h.
Referenced by MACHINE_SETUP().
#define MACHINE_ALGOR 1009 |
Definition at line 220 of file machine.h.
Referenced by DEVINIT(), and MACHINE_REGISTER().
#define MACHINE_ALGOR_P4032 1 |
Definition at line 306 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_ALGOR_P5064 2 |
Definition at line 307 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_ALPHA 4002 |
Definition at line 235 of file machine.h.
Referenced by DEVINIT(), and MACHINE_REGISTER().
#define MACHINE_ARC 1007 |
Definition at line 218 of file machine.h.
Referenced by DEVINIT(), diskimage_add(), MACHINE_REGISTER(), machine_setup(), PCIINIT(), and X().
#define MACHINE_ARC_JAZZ_MAGNUM 2 |
Definition at line 303 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_ARC_JAZZ_PICA 1 |
Definition at line 302 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_BAREARM 5000 |
Definition at line 238 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_BAREM88K 7000 |
Definition at line 256 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_BAREMIPS 1000 |
Definition at line 211 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_BAREPPC 2000 |
Definition at line 225 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_BARESH 6000 |
Definition at line 249 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_CATS 5002 |
Definition at line 240 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), machine_setup(), and PCIINIT().
#define MACHINE_COBALT 1003 |
Definition at line 214 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_DEC_3MAX_5000 2 |
Definition at line 266 of file machine.h.
Referenced by lk201_tick(), MACHINE_DEFAULT_RAM(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_3MAXPLUS_5000 4 |
Definition at line 268 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_3MIN_5000 3 |
Definition at line 267 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_5400 6 |
Definition at line 270 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_5500 11 |
Definition at line 272 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_5800 5 |
Definition at line 269 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_MAXINE_5000 7 |
Definition at line 271 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_MIPSMATE_5100 12 |
Definition at line 273 of file machine.h.
Referenced by lk201_tick(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DEC_PMAX_3100 1 |
Definition at line 265 of file machine.h.
Referenced by lk201_tick(), MACHINE_DEFAULT_RAM(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_DREAMCAST 6003 |
Definition at line 252 of file machine.h.
Referenced by load_bootblock(), MACHINE_REGISTER(), and X().
#define MACHINE_EVBMIPS 1008 |
#define MACHINE_EVBMIPS_MALTA 1 |
Definition at line 310 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_EVBMIPS_MALTA_BE 2 |
Definition at line 311 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCARM 5003 |
Definition at line 241 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_HPCARM_IPAQ 1 |
Definition at line 293 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCARM_JORNADA720 2 |
Definition at line 294 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCARM_JORNADA728 3 |
Definition at line 295 of file machine.h.
Referenced by MACHINE_DEFAULT_RAM(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS 1004 |
Definition at line 215 of file machine.h.
Referenced by DEVINIT(), and MACHINE_REGISTER().
#define MACHINE_HPCMIPS_AGENDA_VR3 7 |
Definition at line 289 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_DEFAULT_RAM(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_CASIO_BE300 1 |
Definition at line 283 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_DEFAULT_RAM(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_CASIO_E105 2 |
Definition at line 284 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_DEFAULT_RAM(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_IBM_WORKPAD_Z50 8 |
Definition at line 290 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_NEC_MOBILEPRO_770 3 |
Definition at line 285 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_NEC_MOBILEPRO_780 4 |
Definition at line 286 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_NEC_MOBILEPRO_800 5 |
Definition at line 287 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCMIPS_NEC_MOBILEPRO_880 6 |
Definition at line 288 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_HPCSH 6002 |
Definition at line 251 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_HPCSH_JORNADA680 1 |
Definition at line 298 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_HPCSH_JORNADA690 2 |
Definition at line 299 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_IQ80321 5005 |
Definition at line 243 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_IYONIX 5006 |
Definition at line 244 of file machine.h.
Referenced by DEVINIT(), and MACHINE_REGISTER().
#define MACHINE_LANDISK 6004 |
Definition at line 253 of file machine.h.
Referenced by MACHINE_REGISTER(), PCIINIT(), and X().
#define MACHINE_LUNA88K 7003 |
Definition at line 259 of file machine.h.
Referenced by MACHINE_REGISTER(), and X().
#define MACHINE_LUNA_88K 1 |
Definition at line 333 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_LUNA_88K2 2 |
Definition at line 334 of file machine.h.
Referenced by MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_MACPPC 2004 |
Definition at line 229 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_MACPPC_G3 1 |
Definition at line 318 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), and MACHINE_REGISTER().
#define MACHINE_MACPPC_G4 2 |
Definition at line 319 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), and MACHINE_REGISTER().
#define MACHINE_MACPPC_G5 3 |
Definition at line 320 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), and MACHINE_REGISTER().
#define MACHINE_MVME88K 7002 |
Definition at line 258 of file machine.h.
Referenced by diskimage_add(), MACHINE_REGISTER(), and X().
#define MACHINE_MVME88K_187 1 |
Definition at line 328 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), MACHINE_SETUP(), and mvmeprom_init().
#define MACHINE_MVME88K_188 2 |
Definition at line 329 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), MACHINE_SETUP(), and mvmeprom_init().
#define MACHINE_MVME88K_197 3 |
Definition at line 330 of file machine.h.
Referenced by m88k_cpu_register_dump(), MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), MACHINE_SETUP(), and mvmeprom_init().
#define MACHINE_MVMEPPC 2005 |
Definition at line 230 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_MVMEPPC_1600 1 |
Definition at line 323 of file machine.h.
Referenced by DEVINIT(), MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_MVMEPPC_2100 2 |
Definition at line 324 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_MVMEPPC_5500 3 |
Definition at line 325 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_NETWINDER 5004 |
Definition at line 242 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_NONE 0 |
Definition at line 262 of file machine.h.
Referenced by emul_machine_setup(), machine_name_to_type(), and machine_new().
#define MACHINE_PMAX 1002 |
Definition at line 213 of file machine.h.
Referenced by diskimage_add(), lk201_tick(), MACHINE_REGISTER(), machine_setup(), and X().
#define MACHINE_PMPPC 2002 |
Definition at line 227 of file machine.h.
Referenced by DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_PREP 2003 |
Definition at line 228 of file machine.h.
Referenced by bus_isa_init(), dev_mc146818_init(), DEVINIT(), MACHINE_REGISTER(), and PCIINIT().
#define MACHINE_PREP_IBM6050 1 |
Definition at line 314 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_PREP_MVME2400 2 |
Definition at line 315 of file machine.h.
Referenced by MACHINE_DEFAULT_CPU(), MACHINE_REGISTER(), and MACHINE_SETUP().
#define MACHINE_PS2 1005 |
Definition at line 216 of file machine.h.
Referenced by MACHINE_REGISTER(), and X().
#define MACHINE_QEMU_MIPS 1010 |
Definition at line 221 of file machine.h.
Referenced by DEVINIT(), and MACHINE_REGISTER().
#define MACHINE_REGISTER | ( | x | ) | void machine_register_ ## x(void) |
#define MACHINE_RPI 5008 |
Definition at line 246 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_SETUP | ( | x | ) |
#define MACHINE_SGI 1006 |
Definition at line 217 of file machine.h.
Referenced by arcbios_add_memory_descriptor(), diskimage_add(), machine_memsize_fix(), MACHINE_REGISTER(), net_generate_unique_mac(), and X().
#define MACHINE_TESTARM 5001 |
Definition at line 239 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_TESTM88K 7001 |
Definition at line 257 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_TESTMIPS 1001 |
Definition at line 212 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_TESTPPC 2001 |
Definition at line 226 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_TESTSH 6001 |
Definition at line 250 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MACHINE_VOCORE 1011 |
Definition at line 222 of file machine.h.
Referenced by MACHINE_REGISTER().
#define MR_DEFAULT | ( | x, | |
name, | |||
arch, | |||
type | |||
) |
Definition at line 370 of file machine.h.
Referenced by MACHINE_REGISTER().
void automachine_init | ( | void | ) |
Definition at line 84 of file automachine.cc.
References machine_register_algor(), machine_register_alpha(), machine_register_arc(), machine_register_barearm(), machine_register_barem88k(), machine_register_baremips(), machine_register_bareppc(), machine_register_baresh(), machine_register_cats(), machine_register_cobalt(), machine_register_dreamcast(), machine_register_evbmips(), machine_register_hpcarm(), machine_register_hpcmips(), machine_register_hpcsh(), machine_register_iq80321(), machine_register_iyonix(), machine_register_landisk(), machine_register_luna88k(), machine_register_macppc(), machine_register_mvme88k(), machine_register_mvmeppc(), machine_register_netwinder(), machine_register_oldtestm88k(), machine_register_oldtestmips(), machine_register_playstation2(), machine_register_pmax(), machine_register_pmppc(), machine_register_prep(), machine_register_qemu_mips(), machine_register_rpi(), machine_register_sgi(), machine_register_testarm(), machine_register_testppc(), machine_register_testsh(), and machine_register_vocore().
Referenced by machine_init().
void machine_add_breakpoint_string | ( | struct machine * | machine, |
char * | str | ||
) |
Definition at line 252 of file machine.cc.
References breakpoints::addr, machine::breakpoints, CHECK_ALLOCATION, breakpoints::n, optarg, and breakpoints::string.
void machine_add_tickfunction | ( | struct machine * | machine, |
void(*)(struct cpu *, void *) | func, | ||
void * | extra, | ||
int | clockshift | ||
) |
Definition at line 280 of file machine.cc.
References CHECK_ALLOCATION, tick_functions::extra, tick_functions::f, fatal(), tick_functions::n_entries, N_SAFE_DYNTRANS_LIMIT_SHIFT, machine::tick_functions, tick_functions::ticks_reset_value, and tick_functions::ticks_till_next.
Referenced by dev_asc_init(), dev_bt459_init(), dev_crime_init(), dev_dc7085_init(), dev_gt_init(), dev_le_init(), dev_pckbc_init(), dev_px_init(), dev_scc_init(), dev_sgi_gbe_init(), dev_sgi_ip22_init(), dev_sii_init(), dev_ssc_init(), dev_vr41xx_init(), and DEVINIT().
void machine_default_cputype | ( | struct machine * | ) |
Definition at line 572 of file machine.cc.
References machine::cpu_name, fatal(), first_machine_entry, machine::machine_subtype, machine::machine_type, machine_entry::machine_type, machine_entry::next, and machine_entry::set_default_cpu.
Referenced by emul_machine_setup().
void machine_destroy | ( | struct machine * | machine | ) |
Definition at line 124 of file machine.cc.
References cpu_destroy(), machine::cpus, machine::ncpus, machine::path, machine::settings, settings_destroy(), and settings_remove_all().
Referenced by emul_destroy().
void machine_dumpinfo | ( | struct machine * | ) |
Definition at line 392 of file machine.cc.
References machine::bootstrap_cpu, cpu_dumpinfo(), machine::cpus, debug, diskimage_dump_info(), x11_md::display_names, machine::force_netboot, x11_md::in_use, machine::memory_offset_in_mb, x11_md::n_display_names, machine::ncpus, machine::nr_of_nics, machine::physical_ram_in_mb, machine::prom_emulation, machine::random_mem_contents, x11_md::scaledown, x11_md::scaleup, machine::serial_nr, machine::slow_serial_interrupts_hack_for_linux, and machine::x11_md.
Referenced by emul_dumpinfo().
void machine_entry_add_alias | ( | struct machine_entry * | me, |
const char * | name | ||
) |
Definition at line 697 of file machine.cc.
References machine_entry::aliases, CHECK_ALLOCATION, and machine_entry::n_aliases.
Referenced by MACHINE_REGISTER().
void machine_entry_add_subtype | ( | struct machine_entry * | me, |
const char * | name, | ||
int | oldstyle_subtype, | ||
... | |||
) |
Definition at line 717 of file machine.cc.
References machine_entry_subtype::aliases, CHECK_ALLOCATION, machine_entry_subtype::machine_subtype, machine_entry_subtype::n_aliases, machine_entry::n_subtypes, machine_entry_subtype::name, and machine_entry::subtype.
Referenced by MACHINE_REGISTER().
struct machine_entry* machine_entry_new | ( | const char * | name, |
int | arch, | ||
int | oldstyle_type | ||
) |
Definition at line 672 of file machine.cc.
References machine_entry::aliases, machine_entry::arch, CHECK_ALLOCATION, machine_entry::machine_type, machine_entry::n_aliases, machine_entry::n_subtypes, machine_entry::name, and machine_entry::setup.
void machine_entry_register | ( | struct machine_entry * | me, |
int | arch | ||
) |
Definition at line 766 of file machine.cc.
References cpu_family_ptr_by_number(), first_machine_entry, machine_entry::name, and machine_entry::next.
void machine_init | ( | void | ) |
Definition at line 865 of file machine.cc.
References automachine_init(), and fatal().
Referenced by main().
void machine_list_available_types_and_cpus | ( | void | ) |
Definition at line 802 of file machine.cc.
References machine_entry_subtype::aliases, machine_entry::aliases, machine_entry::arch, cpu_family_ptr_by_number(), cpu_list_available_types(), debug, DEBUG_INDENTATION, debug_indentation(), fatal(), first_machine_entry, machine_entry_subtype::n_aliases, machine_entry::n_aliases, machine_entry::n_subtypes, cpu_family::name, machine_entry_subtype::name, machine_entry::name, machine_entry::next, and machine_entry::subtype.
void machine_memsize_fix | ( | struct machine * | ) |
Definition at line 527 of file machine.cc.
References DEFAULT_RAM_IN_MB, fatal(), first_machine_entry, MACHINE_SGI, machine::machine_subtype, machine::machine_type, machine_entry::machine_type, machine::memory_offset_in_mb, machine_entry::next, machine::physical_ram_in_mb, and machine_entry::set_default_ram.
Referenced by emul_machine_setup().
int machine_name_to_type | ( | char * | stype, |
char * | ssubtype, | ||
int * | type, | ||
int * | subtype, | ||
int * | arch | ||
) |
Definition at line 156 of file machine.cc.
References machine_entry_subtype::aliases, machine_entry::aliases, machine_entry::arch, fatal(), first_machine_entry, MACHINE_NONE, machine_entry_subtype::machine_subtype, machine_entry::machine_type, machine_entry_subtype::n_aliases, machine_entry::n_aliases, machine_entry::n_subtypes, machine_entry::next, and machine_entry::subtype.
Definition at line 58 of file machine.cc.
References machine::allow_instruction_combinations, machine::arch_pagesize, machine::boot_kernel_filename, machine::boot_string_argument, machine::byte_order_override, CHECK_ALLOCATION, machine::emul, statistics::enabled, MACHINE_NONE, machine::machine_subtype, machine::machine_type, machine::n_gfx_cards, machine::name, NO_BYTE_ORDER_OVERRIDE, machine::path, machine::prom_emulation, x11_md::scaledown, x11_md::scaleup, machine::serial_nr, machine::settings, settings_add(), SETTINGS_FORMAT_DECIMAL, SETTINGS_FORMAT_STRING, SETTINGS_FORMAT_YESNO, settings_new(), SETTINGS_TYPE_INT, SETTINGS_TYPE_STRING, machine::statistics, machine::symbol_context, symbol_init(), and machine::x11_md.
Referenced by emul_add_machine().
void machine_register | ( | char * | name, |
MACHINE_SETUP_TYPE(setup) | |||
) |
int machine_run | ( | struct machine * | machine | ) |
Definition at line 617 of file machine.cc.
References machine::cpus, tick_functions::extra, tick_functions::f, tick_functions::n_entries, machine::ncpus, cpu::run_instr, cpu::running, machine::tick_functions, and tick_functions::ticks_till_next.
void machine_setup | ( | struct machine * | ) |
Definition at line 449 of file machine.cc.
References machine::boot_string_argument, machine::bootarg, machine::bootdev_id, machine::bootdev_type, machine::bootstr, machine::bootstrap_cpu, machine::cpus, debug, diskimage_bootdev(), machine::emulated_hz, fatal(), first_machine_entry, MACHINE_ARC, MACHINE_CATS, machine::machine_name, MACHINE_PMAX, machine::machine_type, machine_entry::machine_type, cpu::mem, machine_entry::next, machine_entry::setup, and strlen().
Referenced by emul_machine_setup().
void machine_statistics_init | ( | struct machine * | , |
char * | fname | ||
) |
Definition at line 323 of file machine.cc.
References machine::allow_instruction_combinations, CHECK_ALLOCATION, statistics::enabled, statistics::fields, statistics::file, statistics::filename, machine::statistics, and strlen().