mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
omap: Use cpu_arm_init() to store ARMCPU in omap_mpu_state_s
Fix tab indentations of comments, add braces, use cpu_reset(). Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
43824588af
commit
5f4ef08b20
6 changed files with 21 additions and 19 deletions
|
@ -202,7 +202,7 @@ static void sx1_init(ram_addr_t ram_size,
|
|||
sx1_binfo.kernel_filename = kernel_filename;
|
||||
sx1_binfo.kernel_cmdline = kernel_cmdline;
|
||||
sx1_binfo.initrd_filename = initrd_filename;
|
||||
arm_load_kernel(cpu->env, &sx1_binfo);
|
||||
arm_load_kernel(&cpu->cpu->env, &sx1_binfo);
|
||||
}
|
||||
|
||||
/* TODO: fix next line */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue