diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2024-02-27 16:08:03 +0100 |
|---|---|---|
| committer | Nicholas Piggin <npiggin@gmail.com> | 2024-03-13 02:47:04 +1000 |
| commit | d54b82a481df62f0146ea20ea9244af810820b0e (patch) | |
| tree | a4ff8d294f8bc2ac929e8562d510a6ea5fcf1704 /hw/core/qdev-properties-system.c | |
| parent | ab452503932a8a5841ba394abc797715089c2f11 (diff) | |
| download | focaccia-qemu-d54b82a481df62f0146ea20ea9244af810820b0e.tar.gz focaccia-qemu-d54b82a481df62f0146ea20ea9244af810820b0e.zip | |
target/ppc: Add gen_exception_err_nip() function
Add gen_exception_err_nip() that does the same as gen_exception_err() but takes the nip as a parameter to allow specifying it instead of using the current instruction address then change gen_exception_err() to use it. The gen_exception() and gen_exception_nip() functions are similar so remove code duplication from those too while at it. Suggested-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions