]> git.proxmox.com Git - qemu.git/commit - hw/ppc/mac.h
mac_nvram: QOM'ify MacIO NVRAM
authorAndreas Färber <afaerber@suse.de>
Wed, 23 Jan 2013 23:04:00 +0000 (23:04 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Jan 2013 21:02:54 +0000 (22:02 +0100)
commit95ed3b7cf1677dc9f995a6e1fcc7bf377cf94a0e
tree6bd33b1eceaa32b1559d7502028aab68d3f3e226
parentd8c6d07fdff2523ca78f95c7d8a7fe90ee7ea5a7
mac_nvram: QOM'ify MacIO NVRAM

It was not qdev'ified before. Turn it into a SysBusDevice and
initialize it via static properties.

Prepare Old World specific MacIO state and embed the NVRAM state there.

Drop macio_nvram_setup_bar() in favor of sysbus_mmio_map() or
direct use of Memory API.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/mac_nvram.c
hw/macio.c
hw/ppc/mac.h
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c