summary refs log tree commit diff stats
path: root/hw/intc/ioapic.c
diff options
context:
space:
mode:
authorHuang Borong <huangborong@bosc.ac.cn>2025-01-15 11:51:05 +0800
committerAlistair Francis <alistair.francis@wdc.com>2025-03-04 15:42:54 +1000
commita680d9531e9b3726dddee94e5f49900c4b756ea6 (patch)
tree3a58b77f6d95ae07f908af640da8110afbf4a1ae /hw/intc/ioapic.c
parentc86edc547692d812d1dcc04220c38310be2c00c3 (diff)
downloadfocaccia-qemu-a680d9531e9b3726dddee94e5f49900c4b756ea6.tar.gz
focaccia-qemu-a680d9531e9b3726dddee94e5f49900c4b756ea6.zip
hw/intc/riscv_aplic: Remove redundant "hart_idx" masking
Remove the redundant masking of "hart_idx", as the same operation is
performed later during address calculation.

This change impacts the "hart_idx" value in the final qemu_log_mask()
call. The original "hart_idx" parameter should be used for logging to
ensure accuracy, rather than the masked value.

Signed-off-by: Huang Borong <huangborong@bosc.ac.cn>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20250115035105.19600-1-huangborong@bosc.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc/ioapic.c')
0 files changed, 0 insertions, 0 deletions