Changeset 1a5fe4f in mainline for kernel/arch/sparc64/src/smp/sun4u/ipi.c
- Timestamp:
- 2018-11-09T18:09:55Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1892d2c
- Parents:
- 3875f106 (diff), ef4218f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-11-09 18:09:55)
- git-committer:
- GitHub <noreply@…> (2018-11-09 18:09:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/smp/sun4u/ipi.c
r3875f106 r1a5fe4f 35 35 #include <smp/ipi.h> 36 36 #include <arch/barrier.h> 37 #include <arch/smp/sun4u/ipi.h>38 37 #include <assert.h> 39 38 #include <cpu.h> … … 43 42 #include <config.h> 44 43 #include <mm/tlb.h> 45 #include <smp/smp_call.h>46 44 #include <arch/interrupt.h> 47 45 #include <arch/trap/interrupt.h> … … 175 173 } 176 174 177 /*178 * Deliver an IPI to the specified processors (except the current one).179 *180 * Interrupts must be disabled.181 *182 * @param cpu_id Destination cpu id (index into cpus array). Must not183 * be the current cpu.184 * @param ipi IPI number.185 */186 void ipi_unicast_arch(unsigned int cpu_id, int ipi)187 {188 assert(&cpus[cpu_id] != CPU);189 190 if (ipi == IPI_SMP_CALL) {191 cross_call(cpus[cpu_id].arch.mid, smp_call_ipi_recv);192 } else {193 panic("Unknown IPI (%d).\n", ipi);194 return;195 }196 }197 198 175 /** @} 199 176 */
Note:
See TracChangeset
for help on using the changeset viewer.