diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2025-03-12 13:25:08 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-03-14 12:54:33 +0000 |
| commit | 44ab8c248dee2d899dfe858ce1962fedcd3398a1 (patch) | |
| tree | 37c9f64df35aebffe68cba972a2d0b9719862c18 /rust/qemu-api | |
| parent | 39ec3fc030166c594a64d1d197e29fa9d100d4c5 (diff) | |
| download | focaccia-qemu-44ab8c248dee2d899dfe858ce1962fedcd3398a1.tar.gz focaccia-qemu-44ab8c248dee2d899dfe858ce1962fedcd3398a1.zip | |
target/arm: Add cpu local variable to exception_return helper
We already call env_archcpu() multiple times within the exception_return helper function, and we're about to want to add another use of the ARMCPU pointer. Add a local variable cpu so we can call env_archcpu() just once. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions