machine.h Source File
Back to the index.
Go to the documentation of this file.
31 #include <sys/types.h>
76 void (**
f)(
struct cpu *,
void *);
195 #define DEVICE_TICK(x) void dev_ ## x ## _tick(struct cpu *cpu, void *extra)
202 #define ARCH_NOARCH 0
211 #define MACHINE_BAREMIPS 1000
212 #define MACHINE_TESTMIPS 1001
213 #define MACHINE_PMAX 1002
214 #define MACHINE_COBALT 1003
215 #define MACHINE_HPCMIPS 1004
216 #define MACHINE_PS2 1005
217 #define MACHINE_SGI 1006
218 #define MACHINE_ARC 1007
219 #define MACHINE_EVBMIPS 1008
220 #define MACHINE_ALGOR 1009
221 #define MACHINE_VOCORE 1010
224 #define MACHINE_BAREPPC 2000
225 #define MACHINE_TESTPPC 2001
226 #define MACHINE_PMPPC 2002
227 #define MACHINE_PREP 2003
228 #define MACHINE_MACPPC 2004
229 #define MACHINE_MVMEPPC 2005
232 #define MACHINE_BAREALPHA 4000
233 #define MACHINE_TESTALPHA 4001
234 #define MACHINE_ALPHA 4002
237 #define MACHINE_BAREARM 5000
238 #define MACHINE_TESTARM 5001
239 #define MACHINE_CATS 5002
240 #define MACHINE_HPCARM 5003
241 #define MACHINE_NETWINDER 5004
242 #define MACHINE_IQ80321 5005
243 #define MACHINE_IYONIX 5006
244 #define MACHINE_RPI 5007
245 #define MACHINE_ANDROIDARM 5008
248 #define MACHINE_BARESH 6000
249 #define MACHINE_TESTSH 6001
250 #define MACHINE_HPCSH 6002
251 #define MACHINE_DREAMCAST 6003
252 #define MACHINE_LANDISK 6004
255 #define MACHINE_BAREM88K 7000
256 #define MACHINE_TESTM88K 7001
257 #define MACHINE_MVME88K 7002
258 #define MACHINE_LUNA88K 7003
261 #define MACHINE_NONE 0
264 #define MACHINE_DEC_PMAX_3100 1
265 #define MACHINE_DEC_3MAX_5000 2
266 #define MACHINE_DEC_3MIN_5000 3
267 #define MACHINE_DEC_3MAXPLUS_5000 4
268 #define MACHINE_DEC_5800 5
269 #define MACHINE_DEC_5400 6
270 #define MACHINE_DEC_MAXINE_5000 7
271 #define MACHINE_DEC_5500 11
272 #define MACHINE_DEC_MIPSMATE_5100 12
274 #define DEC_PROM_CALLBACK_STRUCT 0xffffffffbfc04000ULL
275 #define DEC_PROM_EMULATION 0xffffffffbfc08000ULL
276 #define DEC_PROM_INITIAL_ARGV (INITIAL_STACK_POINTER + 0x80)
277 #define DEC_PROM_STRINGS 0xffffffffbfc20000ULL
278 #define DEC_PROM_TCINFO 0xffffffffbfc2c000ULL
279 #define DEC_MEMMAP_ADDR 0xffffffffbfc30000ULL
282 #define MACHINE_HPCMIPS_CASIO_BE300 1
283 #define MACHINE_HPCMIPS_CASIO_E105 2
284 #define MACHINE_HPCMIPS_NEC_MOBILEPRO_770 3
285 #define MACHINE_HPCMIPS_NEC_MOBILEPRO_780 4
286 #define MACHINE_HPCMIPS_NEC_MOBILEPRO_800 5
287 #define MACHINE_HPCMIPS_NEC_MOBILEPRO_880 6
288 #define MACHINE_HPCMIPS_AGENDA_VR3 7
289 #define MACHINE_HPCMIPS_IBM_WORKPAD_Z50 8
292 #define MACHINE_HPCARM_IPAQ 1
293 #define MACHINE_HPCARM_JORNADA720 2
294 #define MACHINE_HPCARM_JORNADA728 3
297 #define MACHINE_HPCSH_JORNADA680 1
298 #define MACHINE_HPCSH_JORNADA690 2
301 #define MACHINE_ARC_JAZZ_PICA 1
302 #define MACHINE_ARC_JAZZ_MAGNUM 2
305 #define MACHINE_ALGOR_P4032 1
306 #define MACHINE_ALGOR_P5064 2
309 #define MACHINE_EVBMIPS_MALTA 1
310 #define MACHINE_EVBMIPS_MALTA_BE 2
313 #define MACHINE_PREP_IBM6050 1
314 #define MACHINE_PREP_MVME2400 2
317 #define MACHINE_MACPPC_G3 1
318 #define MACHINE_MACPPC_G4 2
319 #define MACHINE_MACPPC_G5 3
322 #define MACHINE_MVMEPPC_1600 1
323 #define MACHINE_MVMEPPC_2100 2
324 #define MACHINE_MVMEPPC_5500 3
327 #define MACHINE_MVME88K_187 1
328 #define MACHINE_MVME88K_188 2
329 #define MACHINE_MVME88K_197 3
332 #define MACHINE_LUNA_88K 1
333 #define MACHINE_LUNA_88K2 2
336 #define MACHINE_ANDROIDARM_SONYXPERIAMINI 1
337 #define MACHINE_ANDROIDARM_FINOWX5AIR 2
367 #define MACHINE_SETUP_TYPE(n) void (*n)(struct machine *, struct cpu *)
368 #define MACHINE_SETUP(x) void machine_setup_ ## x(struct machine *machine, \
370 #define MACHINE_DEFAULT_CPU(x) void machine_default_cpu_ ## x(struct machine *machine)
371 #define MACHINE_DEFAULT_RAM(x) void machine_default_ram_ ## x(struct machine *machine)
372 #define MACHINE_REGISTER(x) void machine_register_ ## x(void)
373 #define MR_DEFAULT(x,name,arch,type) struct machine_entry \
374 *me = machine_entry_new(name,arch,type); \
375 me->setup = machine_setup_ ## x; \
376 me->set_default_cpu = machine_default_cpu_ ## x; \
377 machine_entry_register(me, arch);
385 int *type,
int *subtype,
int *
arch);
388 void (*func)(
struct cpu *,
void *),
void *extra,
int clockshift);
398 int arch,
int oldstyle_type);
401 int oldstyle_subtype, ...);
int * pending_timer_interrupts
uint64_t file_loaded_end_addr
struct cpu_family * cpu_family
void(* setup)(struct machine *, struct cpu *)
int show_nr_of_instructions
void automachine_init(void)
struct pic8259_data * pic2
void machine_destroy(struct machine *machine)
void machine_list_available_types_and_cpus(void)
void machine_default_cputype(struct machine *)
int use_random_bootstrap_cpu
int allow_instruction_combinations
void machine_memsize_fix(struct machine *)
struct pic8259_data * pic1
struct machine_arcbios * arc
struct fb_window ** fb_windows
int machine_run(struct machine *machine)
struct diskimage * first_diskimage
void machine_setup(struct machine *)
char * boot_string_argument
void machine_add_breakpoint_string(struct machine *machine, char *str)
int slow_serial_interrupts_hack_for_linux
void machine_add_tickfunction(struct machine *machine, void(*func)(struct cpu *, void *), void *extra, int clockshift)
void machine_dumpinfo(struct machine *)
void machine_entry_add_subtype(struct machine_entry *me, const char *name, int oldstyle_subtype,...)
#define MACHINE_SETUP_TYPE(n)
int halt_on_nonexistant_memaccess
struct settings * settings
struct machine_entry * next
void machine_entry_register(struct machine_entry *me, int arch)
void(* set_default_cpu)(struct machine *)
void machine_register(char *name, MACHINE_SETUP_TYPE(setup))
struct machine_pmax * pmax
struct machine * machine_new(char *name, struct emul *emul, int id)
uint32_t physical_ram_in_mb
char * boot_kernel_filename
void(* set_default_ram)(struct machine *)
struct machine_entry * machine_entry_new(const char *name, int arch, int oldstyle_type)
const char * machine_name
int exit_without_entering_debugger
void machine_entry_add_alias(struct machine_entry *me, const char *name)
void(** f)(struct cpu *, void *)
void machine_statistics_init(struct machine *, char *fname)
int machine_name_to_type(char *stype, char *ssubtype, int *type, int *subtype, int *arch)
int current_display_name_nr
struct machine_entry_subtype ** subtype
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18