Rev 534 | Rev 1288 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 1264 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** |
|
- | 30 | * @file ipi.c |
|
- | 31 | * @brief Generic IPI interface. |
|
- | 32 | */ |
|
- | 33 | ||
29 | #ifdef CONFIG_SMP |
34 | #ifdef CONFIG_SMP |
30 | 35 | ||
31 | #include <smp/ipi.h> |
36 | #include <smp/ipi.h> |
32 | #include <config.h> |
37 | #include <config.h> |
33 | 38 | ||
Line 36... | Line 41... | ||
36 | * |
41 | * |
37 | * Broadcast IPI message to all CPUs. |
42 | * Broadcast IPI message to all CPUs. |
38 | * |
43 | * |
39 | * @param ipi Message to broadcast. |
44 | * @param ipi Message to broadcast. |
40 | * |
45 | * |
- | 46 | * @bugs The decision whether to actually send the IPI must be based |
|
- | 47 | * on a different criterion. The current version has |
|
- | 48 | * problems when some of the detected CPUs are marked |
|
- | 49 | * disabled in machine configuration. |
|
41 | */ |
50 | */ |
42 | void ipi_broadcast(int ipi) |
51 | void ipi_broadcast(int ipi) |
43 | { |
52 | { |
44 | /* |
53 | /* |
45 | * Provisions must be made to avoid sending IPI: |
54 | * Provisions must be made to avoid sending IPI: |