Revision aaed909a target-mips/cpu.h
b/target-mips/cpu.h | ||
---|---|---|
456 | 456 |
|
457 | 457 |
CPU_COMMON |
458 | 458 |
|
459 |
mips_def_t *cpu_model; |
|
459 |
const mips_def_t *cpu_model;
|
|
460 | 460 |
#ifndef CONFIG_USER_ONLY |
461 | 461 |
void *irq[8]; |
462 | 462 |
#endif |
... | ... | |
474 | 474 |
void r4k_do_tlbwr (void); |
475 | 475 |
void r4k_do_tlbp (void); |
476 | 476 |
void r4k_do_tlbr (void); |
477 |
int mips_find_by_name (const unsigned char *name, mips_def_t **def); |
|
478 | 477 |
void mips_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); |
479 |
int cpu_mips_register (CPUMIPSState *env, mips_def_t *def); |
|
480 | 478 |
|
481 | 479 |
void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, |
482 | 480 |
int unused); |
... | ... | |
560 | 558 |
}; |
561 | 559 |
|
562 | 560 |
int cpu_mips_exec(CPUMIPSState *s); |
563 |
CPUMIPSState *cpu_mips_init(void);
|
|
561 |
CPUMIPSState *cpu_mips_init(const char *cpu_model);
|
|
564 | 562 |
uint32_t cpu_mips_get_clock (void); |
565 | 563 |
int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc); |
566 | 564 |
|
Also available in: Unified diff