summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/mpci.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-28 17:19:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-28 17:19:01 +0000
commitdef9eef5f7fd8d82fcb194d77636cb7801d64394 (patch)
tree9169485a3638c511dd424a298183756b74fbd548 /cpukit/score/src/mpci.c
parent2008-01-25 Jennifer Averett <jennifer.averett@OARcorp.com> (diff)
downloadrtems-def9eef5f7fd8d82fcb194d77636cb7801d64394.tar.bz2
2008-01-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c, score/src/objectnametoid.c, score/src/objectnametoidstring.c: Multiprocessing compiles again and survives initialization. The recent object name and confdefs.h changes had broken it.
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r--cpukit/score/src/mpci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index 17eb37625f..058191530d 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -95,10 +95,10 @@ void _MPCI_Handler_initialization(
* This subprogram creates the MPCI receive server.
*/
-char *_MPCI_Internal_name = "MPCI";
-
void _MPCI_Create_server( void )
{
+ Objects_Name name;
+
if ( !_System_state_Is_multiprocessing )
return;
@@ -109,6 +109,7 @@ void _MPCI_Create_server( void )
_MPCI_Receive_server_tcb = _Thread_Internal_allocate();
+ name.name_u32 = _Objects_Build_name( 'M', 'P', 'C', 'I' );
_Thread_Initialize(
&_Thread_Internal_information,
_MPCI_Receive_server_tcb,
@@ -122,7 +123,7 @@ void _MPCI_Create_server( void )
THREAD_CPU_BUDGET_ALGORITHM_NONE,
NULL, /* no budget algorithm callout */
0, /* all interrupts enabled */
- _MPCI_Internal_name
+ name
);
_Thread_Start(