Changeset 885c342 in rtems


Ignore:
Timestamp:
Jan 26, 2016, 9:23:22 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
addb600
Parents:
a8865f8
Message:

mpci: Update due to API changes

Update due to API changes introduced by
ccd54344d904b657123e4e4ba795a32212382be2.

Update #2514.

Location:
cpukit/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/mpciimpl.h

    ra8865f8 r885c342  
    248248 *  @param[in] ignored is the thread argument.  It is not used.
    249249 */
    250 Thread _MPCI_Receive_server(
    251   uint32_t  ignored
     250void _MPCI_Receive_server(
     251  Thread_Entry_numeric_type ignored
    252252);
    253253
  • cpukit/score/src/mpci.c

    ra8865f8 r885c342  
    8989void _MPCI_Create_server( void )
    9090{
     91  Thread_Entry_information entry = {
     92    .adaptor = _Thread_Entry_adaptor_numeric,
     93    .Kinds = {
     94      .Numeric = {
     95        .entry = _MPCI_Receive_server
     96      }
     97    }
     98  };
    9199  Objects_Name name;
    92100
     
    119127  );
    120128
    121   _Thread_Start(
    122     _MPCI_Receive_server_tcb,
    123     THREAD_START_NUMERIC,
    124     (void *) _MPCI_Receive_server,
    125     NULL,
    126     0,
    127     NULL
    128   );
     129  _Thread_Start( _MPCI_Receive_server_tcb, &entry );
    129130}
    130131
     
    276277 */
    277278
    278 Thread _MPCI_Receive_server(
    279   uint32_t  ignored
     279void _MPCI_Receive_server(
     280  Thread_Entry_numeric_type ignored
    280281)
    281282{
     
    322323        );
    323324
    324         (*the_function)( the_packet );
     325       (*the_function)( the_packet );
    325326    }
    326327  }
    327 
    328   return 0;   /* unreached - only to remove warnings */
    329328}
    330329
Note: See TracChangeset for help on using the changeset viewer.