qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 1/9] target/ppc: Use env_cpu for cpu_abort in excp_helper


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v6 1/9] target/ppc: Use env_cpu for cpu_abort in excp_helper
Date: Thu, 22 Feb 2024 13:06:04 +0100
User-agent: Mozilla Thunderbird

On 22/2/24 12:33, BALATON Zoltan wrote:
Use the env_cpu function to get the CPUState for cpu_abort. These are
only needed in case of fatal errors so this allows to avoid casting
and storing CPUState in a local variable wnen not needed.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
---
  target/ppc/excp_helper.c | 118 +++++++++++++++++++++------------------
  1 file changed, 63 insertions(+), 55 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]