mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/arm: Log CPU index in 'Taking exception' log
In an SMP system it can be unclear which CPU is taking an exception; add the CPU index (which is the same value used in the TCG 'Trace %d:' logging) to the "Taking exception" log line to clarify it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220122182444.724087-2-peter.maydell@linaro.org
This commit is contained in:
parent
0166f5c466
commit
fc6177af11
3 changed files with 8 additions and 5 deletions
|
@ -1130,7 +1130,7 @@ bool get_phys_addr(CPUARMState *env, target_ulong address,
|
|||
ARMMMUFaultInfo *fi, ARMCacheAttrs *cacheattrs)
|
||||
__attribute__((nonnull));
|
||||
|
||||
void arm_log_exception(int idx);
|
||||
void arm_log_exception(CPUState *cs);
|
||||
|
||||
#endif /* !CONFIG_USER_ONLY */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue