Changeset 6153749 in mainline for arch/ia32/src/smp/smp.c
- Timestamp:
- 2005-09-05T09:35:56Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fe379b5
- Parents:
- ae9624e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/smp.c
rae9624e r6153749 35 35 #include <config.h> 36 36 #include <synch/waitq.h> 37 #include <synch/synch.h> 37 38 #include <arch/pm.h> 38 39 #include <func.h> … … 112 113 outb(0x71,0xa); 113 114 114 cpu_priority_high();115 116 115 pic_disable_irqs(0xffff); 117 116 apic_init(); … … 133 132 134 133 if (ops->cpu_apic_id(i) == l_apic_id()) { 135 printf(" kmp: bad processor entry #%d, will not send IPI to myself\n", i);134 printf("%s: bad processor entry #%d, will not send IPI to myself\n", __FUNCTION__, i); 136 135 continue; 137 136 } … … 154 153 * supposed to wake us up. 155 154 */ 156 waitq_sleep(&ap_completion_wq); 155 if (waitq_sleep_timeout(&ap_completion_wq, 1000000, SYNCH_BLOCKING) == ESYNCH_TIMEOUT) 156 printf("%s: waiting for cpu%d (APIC ID = %d) timed out\n", __FUNCTION__, config.cpu_active > i ? config.cpu_active : i, ops->cpu_apic_id(i)); 157 157 } 158 158 else {
Note:
See TracChangeset
for help on using the changeset viewer.