From 3aaa8dfae955d7bec462cc4e2fce185ef6d41b5a Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Mon, 14 May 2012 02:39:57 +0200 Subject: arm_boot: Pass ARMCPU to arm_load_kernel() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In particular this simplifies the &s->mpu->cpu->env expression again. first_cpu and ->next_cpu are expected to be QOM'ified later. Signed-off-by: Andreas Färber Acked-by: Igor Mitsyanko (for exynos) Acked-by: Peter Maydell --- hw/arm-misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/arm-misc.h') diff --git a/hw/arm-misc.h b/hw/arm-misc.h index bbd6fd357c..b7f4c32531 100644 --- a/hw/arm-misc.h +++ b/hw/arm-misc.h @@ -59,7 +59,7 @@ struct arm_boot_info { target_phys_addr_t initrd_size; target_phys_addr_t entry; }; -void arm_load_kernel(CPUARMState *env, struct arm_boot_info *info); +void arm_load_kernel(ARMCPU *cpu, struct arm_boot_info *info); /* Multiplication factor to convert from system clock ticks to qemu timer ticks. */ -- cgit 1.4.1