mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
ppc hw/: Don't use CPUState
Scripted conversion: for file in hw/ppc*.[hc] hw/mpc8544_guts.c hw/spapr*.[hc] hw/virtex_ml507.c hw/xics.c; do sed -i "s/CPUState/CPUPPCState/g" $file done Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
61c56c8c86
commit
e2684c0b58
23 changed files with 183 additions and 183 deletions
|
@ -67,7 +67,7 @@ static target_phys_addr_t round_page(target_phys_addr_t addr)
|
|||
|
||||
static void ppc_heathrow_reset(void *opaque)
|
||||
{
|
||||
CPUState *env = opaque;
|
||||
CPUPPCState *env = opaque;
|
||||
|
||||
cpu_state_reset(env);
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size,
|
|||
const char *cpu_model)
|
||||
{
|
||||
MemoryRegion *sysmem = get_system_memory();
|
||||
CPUState *env = NULL;
|
||||
CPUPPCState *env = NULL;
|
||||
char *filename;
|
||||
qemu_irq *pic, **heathrow_irqs;
|
||||
int linux_boot, i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue