//See $LK,"PCI",A="HI:PCI"$. #if mp_cnt>1 #define DEST_CPU 1 #else #define DEST_CPU 0 #endif #assert I_USER==0x40 interrupt U0 IntMy40() { lock {progress1++;} *(dev.uncached_alias+LAPIC_EOI)(U32 *)=0; } interrupt U0 IntMy41() { lock {progress2++;} *(dev.uncached_alias+LAPIC_EOI)(U32 *)=0; } interrupt U0 IntMy42() { lock {progress3++;} *(dev.uncached_alias+LAPIC_EOI)(U32 *)=0; } interrupt U0 IntMy43() { lock {progress4++;} *(dev.uncached_alias+LAPIC_EOI)(U32 *)=0; } I64 vect[4]={&IntMy40,&IntMy41,&IntMy42,&IntMy43}; U0 Main() { I64 i; U8 *da=dev.uncached_alias+IOAPIC_REG; U32 *_d=dev.uncached_alias+IOAPIC_DATA; ProgressBarsRst; for (i=I_USER;i