mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
New -cpu options: choose CPU model for emulated target.
Only relevant on PowerPC targets, for now. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2468 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7a2d6d9650
commit
94fc95cdb2
13 changed files with 75 additions and 55 deletions
6
vl.h
6
vl.h
|
@ -695,7 +695,7 @@ typedef void QEMUMachineInitFunc(int ram_size, int vga_ram_size,
|
|||
int boot_device,
|
||||
DisplayState *ds, const char **fd_filename, int snapshot,
|
||||
const char *kernel_filename, const char *kernel_cmdline,
|
||||
const char *initrd_filename);
|
||||
const char *initrd_filename, const char *cpu_model);
|
||||
|
||||
typedef struct QEMUMachine {
|
||||
const char *name;
|
||||
|
@ -709,6 +709,10 @@ int qemu_register_machine(QEMUMachine *m);
|
|||
typedef void SetIRQFunc(void *opaque, int irq_num, int level);
|
||||
typedef void IRQRequestFunc(void *opaque, int level);
|
||||
|
||||
#if defined(TARGET_PPC)
|
||||
void ppc_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...));
|
||||
#endif
|
||||
|
||||
/* ISA bus */
|
||||
|
||||
extern target_phys_addr_t isa_mem_base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue