]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/apic: Fixes magic number use, removes outdated comment
authorPhil Dennis-Jordan <phil@philjordan.eu>
Mon, 9 Dec 2024 20:36:28 +0000 (21:36 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:25:07 +0000 (14:25 +0100)
commit1e71a9b1147145c9904b2ce5350c5591d5badb23
tree081ae767a30b458b1660ea186346d7f8e1a557d5
parent7f2626dc24198700683d264c265a2d337fff980b
hw/intc/apic: Fixes magic number use, removes outdated comment

This changes replaces the use of an explicit literal constant for
the APIC base address mask with the existing symbolic constant
intended for this purpose.

Additionally, we remove the comment about not being able to
re-enable the APIC after disabling it. This is no longer
the case after the APIC implementation's state machine was
modified in 9.0.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241209203629.74436-11-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/intc/apic.c