HelenOS sources

mps_cpu_apic_id   122 kernel/arch/amd64/src/smp/mps.c 	.cpu_apic_id = mps_cpu_apic_id,
mps_cpu_apic_id   122 kernel/arch/ia32/src/smp/mps.c 	.cpu_apic_id = mps_cpu_apic_id,
HelenOS homepage, sources at GitHub