From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkC0C-00084c-Al for qemu-devel@nongnu.org; Mon, 30 Jul 2018 13:30:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkC0B-0005ow-GE for qemu-devel@nongnu.org; Mon, 30 Jul 2018 13:30:36 -0400 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]:42529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkC0B-0005oV-B2 for qemu-devel@nongnu.org; Mon, 30 Jul 2018 13:30:35 -0400 Received: by mail-oi0-x244.google.com with SMTP id n84-v6so22720776oib.9 for ; Mon, 30 Jul 2018 10:30:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180725085944.11856-2-stefanha@redhat.com> References: <20180725085944.11856-1-stefanha@redhat.com> <20180725085944.11856-2-stefanha@redhat.com> From: Peter Maydell Date: Mon, 30 Jul 2018 18:30:14 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v3 1/7] hw/arm: rename armv7m_load_kernel() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: QEMU Developers , =?UTF-8?Q?Steffen_G=C3=B6rtz?= , Alistair Francis , Liviu Ionescu , qemu-arm , Julia Suvorova , Subbaraya Sundeep , Su Hang , Steffen Gortz , Jim Mussared , Joel Stanley On 25 July 2018 at 09:59, Stefan Hajnoczi wrote: > ARMv6-M and ARMv8-M need the same kernel loading functionality as > ARMv7-M. Rename armv7m_load_kernel() to arm_m_profile_load_kernel() so > it's clear that this function isn't specific to ARMv7-M. > > Signed-off-by: Stefan Hajnoczi > --- > hw/arm/Makefile.objs | 1 + > include/hw/arm/arm.h | 11 +++-- > hw/arm/arm-m-profile.c | 81 +++++++++++++++++++++++++++++++++ > hw/arm/armv7m.c | 60 ------------------------ > hw/arm/mps2-tz.c | 3 +- > hw/arm/mps2.c | 4 +- > hw/arm/msf2-som.c | 4 +- > hw/arm/netduino2.c | 4 +- > hw/arm/stellaris.c | 3 +- > default-configs/arm-softmmu.mak | 1 + > 10 files changed, 99 insertions(+), 73 deletions(-) > create mode 100644 hw/arm/arm-m-profile.c Another rename that shows up in the patch as "delete the old one and have a copy somewhere else". Maybe this can be fixed with suitable git rename-detection options? thanks -- PMM