mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
mips hw/: Don't use CPUState
Scripted conversion: for file in hw/mips_*.[hc]; do sed -i "s/CPUState/CPUMIPSState/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
ee11850732
commit
61c56c8c86
8 changed files with 34 additions and 34 deletions
|
@ -50,7 +50,7 @@ enum jazz_model_e
|
|||
|
||||
static void main_cpu_reset(void *opaque)
|
||||
{
|
||||
CPUState *env = opaque;
|
||||
CPUMIPSState *env = opaque;
|
||||
cpu_state_reset(env);
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ static const MemoryRegionOps dma_dummy_ops = {
|
|||
|
||||
static void cpu_request_exit(void *opaque, int irq, int level)
|
||||
{
|
||||
CPUState *env = cpu_single_env;
|
||||
CPUMIPSState *env = cpu_single_env;
|
||||
|
||||
if (env && level) {
|
||||
cpu_exit(env);
|
||||
|
@ -112,7 +112,7 @@ static void mips_jazz_init(MemoryRegion *address_space,
|
|||
{
|
||||
char *filename;
|
||||
int bios_size, n;
|
||||
CPUState *env;
|
||||
CPUMIPSState *env;
|
||||
qemu_irq *rc4030, *i8259;
|
||||
rc4030_dma *dmas;
|
||||
void* rc4030_opaque;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue