aboutsummaryrefslogtreecommitdiff
path: root/hw/arm-misc.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-11-11 18:07:53 +0000
committerPaul Brook <paul@codesourcery.com>2009-11-11 18:07:53 +0000
commitf2d74978764f62d832d61ac17bb5d934ade58816 (patch)
tree93c836769cf2da4b27d73e1bbf2accda18dee31a /hw/arm-misc.h
parent715a664ac4ca3b9e44ffbc0ca41ecd91fbe96656 (diff)
downloadqemu-f2d74978764f62d832d61ac17bb5d934ade58816.zip
qemu-f2d74978764f62d832d61ac17bb5d934ade58816.tar.gz
qemu-f2d74978764f62d832d61ac17bb5d934ade58816.tar.bz2
Fix ARM system emulation
Since 45a50b1 load_image_targphys should only be called once. ARM boards incorrectly call it every time the system is reset. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/arm-misc.h')
-rw-r--r--hw/arm-misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/arm-misc.h b/hw/arm-misc.h
index 367dd25..e584073 100644
--- a/hw/arm-misc.h
+++ b/hw/arm-misc.h
@@ -31,6 +31,10 @@ struct arm_boot_info {
int nb_cpus;
int board_id;
int (*atag_board)(struct arm_boot_info *info, void *p);
+ /* Used internally by arm_boot.c */
+ int is_linux;
+ target_phys_addr_t initrd_size;
+ target_phys_addr_t entry;
};
void arm_load_kernel(CPUState *env, struct arm_boot_info *info);