diff options
author | Paul Brook <paul@codesourcery.com> | 2009-11-11 18:07:53 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-11-11 18:07:53 +0000 |
commit | f2d74978764f62d832d61ac17bb5d934ade58816 (patch) | |
tree | 93c836769cf2da4b27d73e1bbf2accda18dee31a /hw/arm-misc.h | |
parent | 715a664ac4ca3b9e44ffbc0ca41ecd91fbe96656 (diff) | |
download | qemu-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.h | 4 |
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); |