These patches convert some files to memory API I am wondering if the bonito ones are corrects as sysbus_mmio_map() use internally get_system_memory().
v2: remove unneeded casts in mcf_uart remove unneeded #include in lm32_uart and lm32_sys v3: use valid.accept in lm32_sys v4: bonito: use the pci_host sysbus pointer bonito: use pci_host->conf_mem and pci_host->data_mem Benoît Canet (11): mcf5206: convert to memory API mcf_uart: convert to memory API mcf_fec: convert to memory API mcf_intc: convert to memory API lm32_uart: convert to memory API lm32_sys: convert to memory API bonito: convert north bridge register mapping to memory API bonito: convert north bridge pci config to memory API bonito: convert south bridge pci config to memory API bonito: convert ldma to memory API bonito: convert cop to memory API hw/an5206.c | 2 +- hw/bonito.c | 201 ++++++++++++++++++++++++------------------------------- hw/lm32_sys.c | 28 ++++---- hw/lm32_uart.c | 31 ++++----- hw/mcf.h | 23 +++++-- hw/mcf5206.c | 62 ++++++++++-------- hw/mcf5208.c | 11 ++-- hw/mcf_fec.c | 38 +++++----- hw/mcf_intc.c | 33 ++++----- hw/mcf_uart.c | 34 ++++----- 10 files changed, 223 insertions(+), 240 deletions(-) -- 1.7.7.3