Changeset 1b20da0 in mainline for kernel/arch/sparc64/src/smp
- Timestamp:
- 2018-02-28T17:52:03Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- Location:
- kernel/arch/sparc64/src/smp
- Files:
-
- 5 edited
-
sun4u/ipi.c (modified) (3 diffs)
-
sun4u/smp.c (modified) (2 diffs)
-
sun4u/smp_call.c (modified) (1 diff)
-
sun4v/ipi.c (modified) (1 diff)
-
sun4v/smp.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/smp/sun4u/ipi.c
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ … … 122 122 /* 123 123 * Prevent deadlock. 124 */ 124 */ 125 125 (void) interrupts_enable(); 126 126 delay(20 + (tick_read() & 0xff)); … … 180 180 * Interrupts must be disabled. 181 181 * 182 * @param cpu_id Destination cpu id (index into cpus array). Must not 182 * @param cpu_id Destination cpu id (index into cpus array). Must not 183 183 * be the current cpu. 184 184 * @param ipi IPI number. -
kernel/arch/sparc64/src/smp/sun4u/smp.c
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ … … 83 83 * Wakes up the CPU which is represented by the "node" OFW tree node. 84 84 * If "node" represents the current CPU, calling the function has 85 * no effect. 85 * no effect. 86 86 */ 87 87 static void wakeup_cpu(ofw_tree_node_t *node) -
kernel/arch/sparc64/src/smp/sun4u/smp_call.c
rdf6ded8 r1b20da0 42 42 void arch_smp_call_ipi(unsigned int cpu_id) 43 43 { 44 /* 44 /* 45 45 * Required by ipi_unicast_arch(). That functions resolves a potential 46 46 * deadlock should both the destination and source cpus be sending -
kernel/arch/sparc64/src/smp/sun4v/ipi.c
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ -
kernel/arch/sparc64/src/smp/sun4v/smp.c
rdf6ded8 r1b20da0 254 254 exec_unit_assign_error = 1; 255 255 } 256 } 256 } 257 257 258 258 /* save the number of CPUs to a globally accessible variable */
Note:
See TracChangeset
for help on using the changeset viewer.
