From def9eef5f7fd8d82fcb194d77636cb7801d64394 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Jan 2008 17:19:01 +0000 Subject: 2008-01-28 Joel Sherrill * 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. --- cpukit/score/src/mpci.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpukit/score/src/mpci.c') 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( -- cgit v1.2.3