]> git.proxmox.com Git - qemu.git/commit - hw/nseries.c
omap_gpmc: Clean up omap_gpmc_attach MemoryRegion conversion
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:22:18 +0000 (16:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:37:12 +0000 (16:37 +0000)
commit07bc2f807768d85e98f50de2e5f8115743277381
treec44d8ece7a7f56d821586e5209d75b009d82f459
parent7c00b9de8b1cdb18d3ba0d6759abea3776d7e05b
omap_gpmc: Clean up omap_gpmc_attach MemoryRegion conversion

Now that all callers of omap_gpmc_attach pass in a MemoryRegion*,
we can remove the base_update and unmap function pointer arguments,
and the opaque pointer that was passed into these callbacks.

We can also remove the base and size fields from omap_gpmc_cs_file_s
as these are no longer necessary (you don't need the base/size
to unmap a MemoryRegion the way you did to undo a mapping made
with cpu_register_physical_memory()).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/nseries.c
hw/omap.h
hw/omap_gpmc.c