mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
jazz-led: convert to QOM
Some simplifications in I/O functions are possible because Jazz LED only registers one byte of I/O. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
63b9932dd0
commit
b39506e44d
3 changed files with 71 additions and 93 deletions
|
@ -295,7 +295,7 @@ static void mips_jazz_init(MemoryRegion *address_space,
|
|||
sysbus_mmio_map(sysbus, 0, 0x80009000);
|
||||
|
||||
/* LED indicator */
|
||||
jazz_led_init(address_space, 0x8000f000);
|
||||
sysbus_create_simple("jazz-led", 0x8000f000, NULL);
|
||||
}
|
||||
|
||||
static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue