From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR0uU-0005FZ-Kd for qemu-devel@nongnu.org; Wed, 24 Oct 2012 09:22:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR0uP-00014C-05 for qemu-devel@nongnu.org; Wed, 24 Oct 2012 09:22:14 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:53405 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR0uO-00013v-PG for qemu-devel@nongnu.org; Wed, 24 Oct 2012 09:22:08 -0400 From: Peter Maydell Date: Wed, 24 Oct 2012 14:21:56 +0100 Message-Id: <1351084924-3729-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/8] ARM boards: don't prematurely explode QEMUMachineInitArgs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost , patches@linaro.org A lot of the ARM board models follow the pattern of having a single common init function which is called with various parameters from the QEMUMachine init function for several board model variants. The change to QEMUMachineInitArgs in commit 5f072e took the fairly mechanical approach of splitting the QEMUMachineInitArgs fields out in each variant's init function to pass to an unchanged common init function. This is a bit repetitive, so clean them up to just pass the QEMUMachineInitArgs directly to the common function instead. v1->v2 changes: * rebase following target_phys_addr_t renaming patch landing * added patch for the exynos boards Peter Maydell (8): hw/vexpress.c: Don't prematurely explode QEMUMachineInitArgs hw/realview.c: Don't prematurely explode QEMUMachineInitArgs hw/versatilepb: Don't prematurely explode QEMUMachineInitArgs hw/spitz: Don't prematurely explode QEMUMachineInitArgs hw/omap_sx1: Don't prematurely explode QEMUMachineInitArgs hw/nseries: Don't prematurely explode QEMUMachineInitArgs hw/mainstone: Don't prematurely explode QEMUMachineInitArgs hw/exynos4_boards: Don't prematurely explode QEMUMachineInitArgs hw/exynos4_boards.c | 32 +++++++++--------------- hw/mainstone.c | 21 ++++++---------- hw/nseries.c | 39 +++++++++-------------------- hw/omap_sx1.c | 36 +++++++-------------------- hw/realview.c | 68 ++++++++++++++------------------------------------- hw/spitz.c | 45 ++++++++-------------------------- hw/versatilepb.c | 44 +++++++++------------------------ hw/vexpress.c | 38 +++++++--------------------- 8 files changed, 87 insertions(+), 236 deletions(-) -- 1.7.9.5