Changeset 26d3ae2 in mainline
- Timestamp:
- 2010-02-16T16:36:48Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0eda6e09
- Parents:
- dabdd1a
- Location:
- kernel
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/debugger.c
rdabdd1a r26d3ae2 201 201 202 202 /* Send IPI */ 203 #ifdef CONFIG_SMP204 203 // ipi_broadcast(VECTOR_DEBUG_IPI); 205 #endif206 204 207 205 return curidx; … … 262 260 spinlock_unlock(&bkpoint_lock); 263 261 interrupts_restore(ipl); 264 #ifdef CONFIG_SMP 265 // ipi_broadcast(VECTOR_DEBUG_IPI); 266 #endif 262 // ipi_broadcast(VECTOR_DEBUG_IPI); 267 263 } 268 264 -
kernel/arch/mips32/src/smp/dorder.c
rdabdd1a r26d3ae2 33 33 */ 34 34 35 #include <arch/smp/dorder.h> 35 #include <smp/ipi.h> 36 37 #ifdef CONFIG_SMP 36 38 37 39 #define MSIM_DORDER_ADDRESS 0xB0000004 … … 39 41 void ipi_broadcast_arch(int ipi) 40 42 { 41 #ifdef CONFIG_SMP42 43 *((volatile unsigned int *) MSIM_DORDER_ADDRESS) = 0x7FFFFFFF; 44 } 45 43 46 #endif 44 }45 47 46 48 /** @} -
kernel/generic/include/smp/ipi.h
rdabdd1a r26d3ae2 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 37 37 38 38 #ifdef CONFIG_SMP 39 extern void ipi_broadcast(int ipi); 40 extern void ipi_broadcast_arch(int ipi); 39 40 extern void ipi_broadcast(int); 41 extern void ipi_broadcast_arch(int); 42 41 43 #else 42 #define ipi_broadcast(x) ; 44 45 #define ipi_broadcast(ipi) 46 43 47 #endif /* CONFIG_SMP */ 44 48 -
kernel/generic/src/smp/ipi.c
rdabdd1a r26d3ae2 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 33 33 /** 34 34 * @file 35 * @brief 35 * @brief Generic IPI interface. 36 36 */ 37 37 38 38 #ifdef CONFIG_SMP 39 39 40 40 #include <smp/ipi.h> 41 41 #include <config.h> 42 43 42 44 43 /** Broadcast IPI message … … 49 48 * 50 49 * @bug The decision whether to actually send the IPI must be based 51 * 52 * 53 * 50 * on a different criterion. The current version has 51 * problems when some of the detected CPUs are marked 52 * disabled in machine configuration. 54 53 */ 55 54 void ipi_broadcast(int ipi) … … 60 59 * - if there is only one CPU but the kernel was compiled with CONFIG_SMP 61 60 */ 62 61 63 62 if ((config.cpu_active > 1) && (config.cpu_active == config.cpu_count)) 64 63 ipi_broadcast_arch(ipi);
Note:
See TracChangeset
for help on using the changeset viewer.