projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2616fe
)
hw/sparc64: Constify all Property
author
Richard Henderson
<richard.henderson@linaro.org>
Fri, 13 Dec 2024 16:49:26 +0000
(16:49 +0000)
committer
Richard Henderson
<richard.henderson@linaro.org>
Sun, 15 Dec 2024 18:56:19 +0000
(12:56 -0600)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/sparc64/sun4u.c
patch
|
blob
|
history
diff --git
a/hw/sparc64/sun4u.c
b/hw/sparc64/sun4u.c
index 541c7f74fa04c7380e049bd0a29288fee05e16e3..7088ac273ea2de5593913754cae120a4ee9a71ba 100644
(file)
--- a/
hw/sparc64/sun4u.c
+++ b/
hw/sparc64/sun4u.c
@@
-374,7
+374,7
@@
static void ebus_realize(PCIDevice *pci_dev, Error **errp)
pci_register_bar(pci_dev, 1, PCI_BASE_ADDRESS_SPACE_IO, &s->bar1);
}
-static Property ebus_properties[] = {
+static
const
Property ebus_properties[] = {
DEFINE_PROP_UINT64("console-serial-base", EbusState,
console_serial_base, 0),
DEFINE_PROP_END_OF_LIST(),
@@
-532,7
+532,7
@@
static void ram_init(hwaddr addr, ram_addr_t RAM_size)
sysbus_mmio_map(s, 0, addr);
}
-static Property ram_properties[] = {
+static
const
Property ram_properties[] = {
DEFINE_PROP_UINT64("size", RamDevice, size, 0),
DEFINE_PROP_END_OF_LIST(),
};