mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
hw/arm: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b5e4f90e64
commit
e15bd5dd05
18 changed files with 22 additions and 22 deletions
|
@ -538,7 +538,7 @@ static void armv7m_realize(DeviceState *dev, Error **errp)
|
|||
}
|
||||
}
|
||||
|
||||
static Property armv7m_properties[] = {
|
||||
static const Property armv7m_properties[] = {
|
||||
DEFINE_PROP_STRING("cpu-type", ARMv7MState, cpu_type),
|
||||
DEFINE_PROP_LINK("memory", ARMv7MState, board_memory, TYPE_MEMORY_REGION,
|
||||
MemoryRegion *),
|
||||
|
@ -631,7 +631,7 @@ void armv7m_load_kernel(ARMCPU *cpu, const char *kernel_filename,
|
|||
qemu_register_reset(armv7m_reset, cpu);
|
||||
}
|
||||
|
||||
static Property bitband_properties[] = {
|
||||
static const Property bitband_properties[] = {
|
||||
DEFINE_PROP_UINT32("base", BitBandState, base, 0),
|
||||
DEFINE_PROP_LINK("source-memory", BitBandState, source_memory,
|
||||
TYPE_MEMORY_REGION, MemoryRegion *),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue