summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2011-05-26 18:07:07 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2011-05-26 18:07:07 +0000
commitd4dc7c8196355f08044e67a3f5c1e19485f17ff1 (patch)
tree77437e47925428753b579caadf1e7b61f524ee4d /cpukit/score/include
parentFix broken cvs id. (diff)
downloadrtems-d4dc7c8196355f08044e67a3f5c1e19485f17ff1.tar.bz2
2011-05-26 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1796/cpukit * sapi/src/exshutdown.c, score/include/rtems/score/percpu.h, score/include/rtems/score/smp.h, score/src/smp.c, score/src/threaddispatch.c, score/src/threadhandler.c: Added SMP interprocess communications.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/percpu.h8
-rw-r--r--cpukit/score/include/rtems/score/smp.h8
2 files changed, 15 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h
index 2631235f06..0e116800a8 100644
--- a/cpukit/score/include/rtems/score/percpu.h
+++ b/cpukit/score/include/rtems/score/percpu.h
@@ -79,9 +79,15 @@ typedef enum {
/**
* This defines the constant used to indicate that the cpu code has
+ * completed basic initialization and awaits further commands.
+ */
+ RTEMS_BSP_SMP_CPU_UP = 3,
+
+ /**
+ * This defines the constant used to indicate that the cpu code has
* shut itself down.
*/
- RTEMS_BSP_SMP_CPU_SHUTDOWN = 3
+ RTEMS_BSP_SMP_CPU_SHUTDOWN = 4
} bsp_smp_cpu_state;
/**
diff --git a/cpukit/score/include/rtems/score/smp.h b/cpukit/score/include/rtems/score/smp.h
index 55545b66ac..727a139e72 100644
--- a/cpukit/score/include/rtems/score/smp.h
+++ b/cpukit/score/include/rtems/score/smp.h
@@ -87,6 +87,14 @@ void _SMP_Broadcast_message(
);
/**
+ * @brief Request Other Cores to Perform First Context Switch
+ *
+ * Send message to other cores requesting them to perform
+ * their first context switch operation.
+ */
+void _SMP_Request_other_cores_to_perform_first_context_switch(void);
+
+/**
* @brief Request Dispatch on Other Cores
*
* Send message to other cores requesting them to perform