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
|
@ -123,7 +123,7 @@ static target_phys_addr_t round_page(target_phys_addr_t addr)
|
|||
|
||||
static void ppc_core99_reset(void *opaque)
|
||||
{
|
||||
CPUState *env = opaque;
|
||||
CPUPPCState *env = opaque;
|
||||
|
||||
cpu_state_reset(env);
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ static void ppc_core99_init (ram_addr_t ram_size,
|
|||
const char *initrd_filename,
|
||||
const char *cpu_model)
|
||||
{
|
||||
CPUState *env = NULL;
|
||||
CPUPPCState *env = NULL;
|
||||
char *filename;
|
||||
qemu_irq *pic, **openpic_irqs;
|
||||
MemoryRegion *unin_memory = g_new(MemoryRegion, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue