All of lore.kernel.org
 help / color / mirror / Atom feed
From: BALATON Zoltan <balaton@eik.bme.hu>
To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: Howard Spoelstra <hsp.cat7@gmail.com>,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH v2 4/5] mac_oldworld: Rename ppc_heathrow_reset reset to ppc_heathrow_cpu_reset
Date: Sat, 13 Jun 2020 15:36:15 +0200	[thread overview]
Message-ID: <dc05efa9c54fb4cafdcea70c396c0790bf99c849.1592055375.git.balaton@eik.bme.hu> (raw)
In-Reply-To: <cover.1592055375.git.balaton@eik.bme.hu>

This function resets a CPU not the whole machine so reflect that in
its name.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
 hw/ppc/mac_oldworld.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c
index 4dd872c1a3..9138752ccb 100644
--- a/hw/ppc/mac_oldworld.c
+++ b/hw/ppc/mac_oldworld.c
@@ -73,7 +73,7 @@ static uint64_t translate_kernel_address(void *opaque, uint64_t addr)
     return (addr & 0x0fffffff) + KERNEL_LOAD_ADDR;
 }
 
-static void ppc_heathrow_reset(void *opaque)
+static void ppc_heathrow_cpu_reset(void *opaque)
 {
     PowerPCCPU *cpu = opaque;
 
@@ -127,7 +127,7 @@ static void ppc_heathrow_init(MachineState *machine)
 
         /* Set time-base frequency to 16.6 Mhz */
         cpu_ppc_tb_init(env,  TBFREQ);
-        qemu_register_reset(ppc_heathrow_reset, cpu);
+        qemu_register_reset(ppc_heathrow_cpu_reset, cpu);
     }
 
     /* allocate RAM */
-- 
2.21.3



  parent reply	other threads:[~2020-06-13 13:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-13 13:36 [PATCH v2 0/5] Mac Old World ROM experiment BALATON Zoltan
2020-06-13 13:36 ` [PATCH v2 3/5] grackle: Set revision in PCI config to match hardware BALATON Zoltan
2020-06-14 10:47   ` Mark Cave-Ayland
2020-06-14 14:03     ` BALATON Zoltan
2020-06-13 13:36 ` BALATON Zoltan [this message]
2020-06-13 18:10   ` [PATCH v2 4/5] mac_oldworld: Rename ppc_heathrow_reset reset to ppc_heathrow_cpu_reset Philippe Mathieu-Daudé
2020-06-14 10:54   ` Mark Cave-Ayland
2020-06-14 14:17     ` BALATON Zoltan
2020-06-13 13:36 ` [PATCH v2 5/5] mac_oldworld: Map macio to expected address at reset BALATON Zoltan
2020-06-13 18:14   ` Philippe Mathieu-Daudé
2020-06-13 18:27     ` BALATON Zoltan
2020-06-14 10:58   ` Mark Cave-Ayland
2020-06-14 14:23     ` BALATON Zoltan
2020-06-13 13:36 ` [PATCH v2 2/5] mac_oldworld: Add machine ID register BALATON Zoltan
2020-06-13 13:36 ` [PATCH v2 1/5] mac_oldworld: Allow loading binary ROM image BALATON Zoltan
2020-06-14 10:46   ` Mark Cave-Ayland
2020-06-14 14:46     ` BALATON Zoltan
2020-06-13 18:03 ` [PATCH v2 0/5] Mac Old World ROM experiment BALATON Zoltan
2020-06-13 19:36   ` BALATON Zoltan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dc05efa9c54fb4cafdcea70c396c0790bf99c849.1592055375.git.balaton@eik.bme.hu \
    --to=balaton@eik.bme.hu \
    --cc=david@gibson.dropbear.id.au \
    --cc=hsp.cat7@gmail.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.