From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQDre-0007zx-ML for qemu-devel@nongnu.org; Fri, 23 Nov 2018 10:59:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQDrd-0007HR-Rd for qemu-devel@nongnu.org; Fri, 23 Nov 2018 10:59:30 -0500 Date: Fri, 23 Nov 2018 10:59:21 -0500 From: "Michael S. Tsirkin" Message-ID: <20181123105915-mutt-send-email-mst@kernel.org> References: <20181122133507.30950-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181122133507.30950-1-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH for-4.0 0/2] Rename cpu_physical_memory_write_rom() to address_space_write_rom() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, patches@linaro.org, Paolo Bonzini , Richard Henderson , Mark Cave-Ayland , Artyom Tarasenko On Thu, Nov 22, 2018 at 01:35:05PM +0000, Peter Maydell wrote: > The API of cpu_physical_memory_write_rom() is odd, because it > takes an AddressSpace, unlike all the other cpu_physical_memory_* > access functions. We note this oddity as a TODO in the > docs/devel/loads-stores.rst documentation. > > Rename cpu_physical_memory_write_rom() to address_space_write_rom(), > and give it an API that matches address_space_write(). > We also adjest the cpu_physical_memory_write_rom_internal() > function which is local to exec.c similarly. > > thanks > -- PMM Acked-by: Michael S. Tsirkin > Peter Maydell (2): > exec.c: Rename cpu_physical_memory_write_rom_internal() > Rename cpu_physical_memory_write_rom() to address_space_write_rom() > > include/exec/cpu-common.h | 2 -- > include/exec/memory.h | 26 ++++++++++++++++++++++++++ > exec.c | 30 +++++++++++++++++++----------- > hw/core/loader.c | 4 ++-- > hw/intc/apic.c | 7 ++++--- > hw/misc/tz-mpc.c | 2 +- > hw/sparc/sun4m.c | 5 +++-- > docs/devel/loads-stores.rst | 35 ++++++++++++++++------------------- > 8 files changed, 71 insertions(+), 40 deletions(-) > > -- > 2.19.1