diff options
| author | Peter Maydell | 2018-12-14 14:30:48 +0100 |
|---|---|---|
| committer | Peter Maydell | 2018-12-14 14:30:48 +0100 |
| commit | 3c8133f973767460f8e42c9e656f2f3ed703d00d (patch) | |
| tree | c4c81c69036ee9f15608d4b4cf3ae035a269b09c /hw/misc | |
| parent | exec.c: Rename cpu_physical_memory_write_rom_internal() (diff) | |
| download | qemu-3c8133f973767460f8e42c9e656f2f3ed703d00d.tar.gz qemu-3c8133f973767460f8e42c9e656f2f3ed703d00d.tar.xz qemu-3c8133f973767460f8e42c9e656f2f3ed703d00d.zip | |
Rename cpu_physical_memory_write_rom() to address_space_write_rom()
The API of cpu_physical_memory_write_rom() is odd, because it
takes an AddressSpace, unlike all the other cpu_physical_memory_*
access functions. Rename it to address_space_write_rom(), and
bring its API into line with address_space_write().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20181122133507.30950-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc')
| -rw-r--r-- | hw/misc/tz-mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/tz-mpc.c b/hw/misc/tz-mpc.c index e0c58ba37e..fb48a1540b 100644 --- a/hw/misc/tz-mpc.c +++ b/hw/misc/tz-mpc.c @@ -448,7 +448,7 @@ static int tz_mpc_attrs_to_index(IOMMUMemoryRegion *iommu, MemTxAttrs attrs) { /* We treat unspecified attributes like secure. Transactions with * unspecified attributes come from places like - * cpu_physical_memory_write_rom() for initial image load, and we want + * rom_reset() for initial image load, and we want * those to pass through the from-reset "everything is secure" config. * All the real during-emulation transactions from the CPU will * specify attributes. |
