projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344b983
)
Sparc32: use the OpenFirmware name for ecc
author
Blue Swirl
<blauwirbel@gmail.com>
Sun, 12 Jul 2009 18:43:24 +0000
(21:43 +0300)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 12 Jul 2009 18:43:24 +0000
(21:43 +0300)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/eccmemctl.c
patch
|
blob
|
history
diff --git
a/hw/eccmemctl.c
b/hw/eccmemctl.c
index
0c9708e
..
d05962b
100644
(file)
--- a/
hw/eccmemctl.c
+++ b/
hw/eccmemctl.c
@@
-341,7
+341,7
@@
void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version)
DeviceState *dev;
SysBusDevice *s;
- dev = qdev_create(NULL, "ecc");
+ dev = qdev_create(NULL, "ecc
memctl
");
qdev_set_prop_int(dev, "version", version);
qdev_init(dev);
s = sysbus_from_qdev(dev);
@@
-354,7
+354,7
@@
void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version)
static void ecc_register_devices(void)
{
- sysbus_register_dev("ecc", sizeof(ECCState), ecc_init1);
+ sysbus_register_dev("ecc
memctl
", sizeof(ECCState), ecc_init1);
}
device_init(ecc_register_devices)