mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
pxa2xx: Use cpu_arm_init() and store ARMCPU
Also use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
df90dadb45
commit
43824588af
6 changed files with 25 additions and 25 deletions
2
hw/z2.c
2
hw/z2.c
|
@ -363,7 +363,7 @@ static void z2_init(ram_addr_t ram_size,
|
|||
z2_binfo.kernel_cmdline = kernel_cmdline;
|
||||
z2_binfo.initrd_filename = initrd_filename;
|
||||
z2_binfo.board_id = 0x6dd;
|
||||
arm_load_kernel(cpu->env, &z2_binfo);
|
||||
arm_load_kernel(&cpu->cpu->env, &z2_binfo);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue