arch/x86: Add register_new_ioapic()
commit0ea8f89e4095f82de0562142968e81d9588b2b7b
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Tue, 8 Jun 2021 08:28:25 +0000 (8 11:28 +0300)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Thu, 10 Nov 2022 19:08:57 +0000 (10 19:08 +0000)
treedd6f87b82db80d43b4236d87d09095ab804ee3dc
parentc7da027e75a9623157b6375d86162ab862846628
arch/x86: Add register_new_ioapic()

Using this I/O APIC IDs will be assigned incrementally
in the order of calling. I/O APIC ID #0 is reserved for
the I/O APIC delivering GSI #0.

Change-Id: I6493dc3b4fa542e81f80bb0355eac6dad30b93ec
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55313
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/arch/x86/include/arch/ioapic.h
src/arch/x86/ioapic.c