mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
microblaze hw/: Don't use CPUState
Scripted conversion: for file in hw/microblaze_*.[hc] hw/petalogix_ml605_mmu.c hw/petalogix_s3adsp1800_mmu.c; do sed -i "s/CPUState/CPUMBState/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
7927df3a8b
commit
ee11850732
6 changed files with 13 additions and 13 deletions
|
@ -49,7 +49,7 @@
|
|||
#define UARTLITE_BASEADDR 0x84000000
|
||||
#define ETHLITE_BASEADDR 0x81000000
|
||||
|
||||
static void machine_cpu_reset(CPUState *env)
|
||||
static void machine_cpu_reset(CPUMBState *env)
|
||||
{
|
||||
/* FIXME: move to machine specfic cpu reset */
|
||||
env->pvr.regs[10] = 0x0c000000; /* spartan 3a dsp family. */
|
||||
|
@ -63,7 +63,7 @@ petalogix_s3adsp1800_init(ram_addr_t ram_size,
|
|||
const char *initrd_filename, const char *cpu_model)
|
||||
{
|
||||
DeviceState *dev;
|
||||
CPUState *env;
|
||||
CPUMBState *env;
|
||||
DriveInfo *dinfo;
|
||||
int i;
|
||||
target_phys_addr_t ddr_base = MEMORY_BASEADDR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue