diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2024-02-27 16:08:01 +0100 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-03-13 02:47:04 +1000 |
commit | bc30c1c6632c33eb9a27680b2de673d8b22a65b3 (patch) | |
tree | e596eeb6d8d5da116d148fbb7e0c0868040d6a08 /scripts/device-crash-test | |
parent | 9940412ae4ae2d4971959c13311ba8d822974452 (diff) | |
download | qemu-bc30c1c6632c33eb9a27680b2de673d8b22a65b3.zip qemu-bc30c1c6632c33eb9a27680b2de673d8b22a65b3.tar.gz qemu-bc30c1c6632c33eb9a27680b2de673d8b22a65b3.tar.bz2 |
target/ppc: Use env_cpu for cpu_abort in excp_helper
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.
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'scripts/device-crash-test')
0 files changed, 0 insertions, 0 deletions