> Are we putting the system back in PIC mode or virtual wire mode? I have > not seen systems which support PIC mode. All latest systems seems > to be having virtual wire mode. I think in case of PIC mode, interrupts Yes it's probably virtual wire. For real PIC mode we would need really old systems without APIC. > can be delivered to cpu0 only. In virt wire mode, one can program IOAPIC > to deliver interrupt to any of the cpus and that's what we have been The code doesn't try to program anything specific, it just restores the state that was left over originally by the BIOS. -Andi