Revision aaed909a target-ppc/cpu.h
b/target-ppc/cpu.h | ||
---|---|---|
675 | 675 |
}; |
676 | 676 |
|
677 | 677 |
/*****************************************************************************/ |
678 |
CPUPPCState *cpu_ppc_init (void);
|
|
678 |
CPUPPCState *cpu_ppc_init (const char *cpu_model);
|
|
679 | 679 |
int cpu_ppc_exec (CPUPPCState *s); |
680 | 680 |
void cpu_ppc_close (CPUPPCState *s); |
681 | 681 |
/* you can call this signal handler from your SIGBUS and SIGSEGV |
... | ... | |
719 | 719 |
void ppc_store_msr (CPUPPCState *env, target_ulong value); |
720 | 720 |
|
721 | 721 |
void cpu_ppc_reset (void *opaque); |
722 |
CPUPPCState *cpu_ppc_init (void); |
|
723 |
void cpu_ppc_close(CPUPPCState *env); |
|
724 | 722 |
|
725 |
int ppc_find_by_name (const unsigned char *name, ppc_def_t **def); |
|
726 |
int ppc_find_by_pvr (uint32_t apvr, ppc_def_t **def); |
|
727 | 723 |
void ppc_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); |
728 |
int cpu_ppc_register (CPUPPCState *env, ppc_def_t *def); |
|
724 |
|
|
725 |
const ppc_def_t *cpu_ppc_find_by_name (const unsigned char *name); |
|
726 |
const ppc_def_t *cpu_ppc_find_by_pvr (uint32_t pvr); |
|
727 |
int cpu_ppc_register_internal (CPUPPCState *env, const ppc_def_t *def); |
|
729 | 728 |
|
730 | 729 |
/* Time-base and decrementer management */ |
731 | 730 |
#ifndef NO_CPU_IO_DEFS |
Also available in: Unified diff