[SeaBIOS] [PATCH v3 2/3] smp: refactor present CPU APIC ID detection and counting