mpci: Update due to API changes

Update due to API changes introduced by
ccd54344d9.

Update #2514.
This commit is contained in:
Sebastian Huber
2016-01-26 10:23:22 +01:00
parent a8865f8b41
commit 885c342e04
2 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -247,8 +247,8 @@ Thread_Control *_MPCI_Process_response (
*
* @param[in] ignored is the thread argument. It is not used.
*/
Thread _MPCI_Receive_server(
uint32_t ignored
void _MPCI_Receive_server(
Thread_Entry_numeric_type ignored
);
/**
+12 -13
View File
@@ -88,6 +88,14 @@ void _MPCI_Handler_initialization(
void _MPCI_Create_server( void )
{
Thread_Entry_information entry = {
.adaptor = _Thread_Entry_adaptor_numeric,
.Kinds = {
.Numeric = {
.entry = _MPCI_Receive_server
}
}
};
Objects_Name name;
@@ -118,14 +126,7 @@ void _MPCI_Create_server( void )
name
);
_Thread_Start(
_MPCI_Receive_server_tcb,
THREAD_START_NUMERIC,
(void *) _MPCI_Receive_server,
NULL,
0,
NULL
);
_Thread_Start( _MPCI_Receive_server_tcb, &entry );
}
void _MPCI_Initialization ( void )
@@ -275,8 +276,8 @@ Thread_Control *_MPCI_Process_response (
*
*/
Thread _MPCI_Receive_server(
uint32_t ignored
void _MPCI_Receive_server(
Thread_Entry_numeric_type ignored
)
{
@@ -321,11 +322,9 @@ Thread _MPCI_Receive_server(
INTERNAL_ERROR_BAD_PACKET
);
(*the_function)( the_packet );
(*the_function)( the_packet );
}
}
return 0; /* unreached - only to remove warnings */
}
void _MPCI_Announce ( void )