Stefan Hajnoczi 047be4ed24 memory: add memory_region_flush_rom_device()
ROM devices go via MemoryRegionOps->write() callbacks for write
operations and do not dirty/invalidate that memory.  Device emulation
must be able to mark memory ranges that have been modified internally
(e.g. using memory_region_get_ram_ptr()).

Introduce the memory_region_flush_rom_device() API for this purpose.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190123212234.32068-2-stefanha@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: fix block comment style]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-29 11:46:04 +00:00
..
2019-01-28 07:04:35 -08:00
2019-01-28 07:04:35 -08:00
2018-10-18 18:58:10 -07:00
2018-12-26 06:40:24 +11:00
2018-12-26 06:40:24 +11:00
2016-06-07 18:19:23 +03:00
2016-05-19 16:42:30 +02:00
2017-10-25 11:55:09 +02:00
2018-06-15 08:18:48 -10:00
2018-12-26 06:40:02 +11:00
2018-06-15 08:18:48 -10:00
2018-02-09 05:05:11 +01:00