sysbus: Remove sysbus_add_memory and sysbus_del_memory
commite63d28d7dbfcec81214aecc9ff0aaee46e87aa44
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 14:34:23 +0000 (15 14:34 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 1 Apr 2013 14:08:33 +0000 (1 09:08 -0500)
treed19efe9c31b524a5449114eda584def29a55b01f
parentc31bc98e3bcf52fe1cd4b9b7a70869330eae80ea
sysbus: Remove sysbus_add_memory and sysbus_del_memory

Remove the sysbus_add_memory and sysbus_del_memory functions. These
are trivial wrappers for mapping a memory region into the system
memory space, and have no users now.  Sysbus devices should never map
their own memory regions anyway; the correct API for mapping an mmio
region is for the creator of the device to use sysbus_mmio_map.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1363358063-23973-6-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/sysbus.c
hw/sysbus.h