diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-06-23 17:53:48 +0200 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-07-04 21:58:25 +0200 |
commit | 462a8bc6468912b79629f20f18798558342ce315 (patch) | |
tree | ebfadf060ddb6b47b9e1e17a24a85b666fd779e1 /target-arm | |
parent | 75ef849696830fc2ddeff8bb90eea5887ff50df6 (diff) | |
download | qemu-462a8bc6468912b79629f20f18798558342ce315.zip qemu-462a8bc6468912b79629f20f18798558342ce315.tar.gz qemu-462a8bc6468912b79629f20f18798558342ce315.tar.bz2 |
arm: Add const attribute to some arm_boot_info pointers
Parameter 'info' is const, so add the missing attribute.
v2:
Add 'const' to the local variable info in do_cpu_reset() and to
the boot_info field in CPUARMState (suggested by Peter Maydell).
Cc: Andrzej Zaborowski <balrogg@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 116131e..1022a03 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -221,7 +221,7 @@ typedef struct CPUARMState { void *opaque; } cp[15]; void *nvic; - struct arm_boot_info *boot_info; + const struct arm_boot_info *boot_info; } CPUARMState; CPUARMState *cpu_arm_init(const char *cpu_model); |