mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/intc: Constify all Property
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
9eb5c79907
commit
783e3b21e5
38 changed files with 45 additions and 45 deletions
|
@ -262,7 +262,7 @@ static const MemoryRegionOps riscv_aclint_mtimer_ops = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property riscv_aclint_mtimer_properties[] = {
|
||||
static const Property riscv_aclint_mtimer_properties[] = {
|
||||
DEFINE_PROP_UINT32("hartid-base", RISCVAclintMTimerState,
|
||||
hartid_base, 0),
|
||||
DEFINE_PROP_UINT32("num-harts", RISCVAclintMTimerState, num_harts, 1),
|
||||
|
@ -462,7 +462,7 @@ static const MemoryRegionOps riscv_aclint_swi_ops = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property riscv_aclint_swi_properties[] = {
|
||||
static const Property riscv_aclint_swi_properties[] = {
|
||||
DEFINE_PROP_UINT32("hartid-base", RISCVAclintSwiState, hartid_base, 0),
|
||||
DEFINE_PROP_UINT32("num-harts", RISCVAclintSwiState, num_harts, 1),
|
||||
DEFINE_PROP_UINT32("sswi", RISCVAclintSwiState, sswi, false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue