mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-01 16:42:06 +00:00
On x86 the CPU count is determined through ACPI's MADT by counting the local APICs reported there. Some platforms report more APICs than there are actual CPUs. These might be physically disabled CPUs. Therefore, a check if the LAPIC is actually physically enabled in hardware fixes this issue. Thanks to Alex Boettcher fixes #3376