Changeset ea6bfcb in rtems


Ignore:
Timestamp:
Nov 12, 1999, 9:12:27 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2183b65
Parents:
6af81435
Message:

+ Modified correct return path to call _ITRON_return_errorno( E_OK ) instead

of enabling dispatching and returning E_OK.

+ Changed validation of the_thread to validation of location.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/itron/src/can_wup.c

    r6af81435 rea6bfcb  
    3030
    3131  the_thread = _ITRON_Task_Get( tskid, &location );
    32   if (!the_thread)
    33     _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );
    34 
    3532  switch ( location ) {
    3633    case OBJECTS_REMOTE:
     
    4239       * XXX - FILL ME IN.
    4340       */
    44       return E_OK;
     41      _ITRON_return_errorno( E_OK );
    4542  }
    4643
    47   return E_OBJ;           /* XXX - Should never get here */
     44  _ITRON_return_errorno( E_OBJ );  /* XXX - Should never get here */
    4845}
    4946
  • cpukit/itron/src/can_wup.c

    r6af81435 rea6bfcb  
    3030
    3131  the_thread = _ITRON_Task_Get( tskid, &location );
    32   if (!the_thread)
    33     _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );
    34 
    3532  switch ( location ) {
    3633    case OBJECTS_REMOTE:
     
    4239       * XXX - FILL ME IN.
    4340       */
    44       return E_OK;
     41      _ITRON_return_errorno( E_OK );
    4542  }
    4643
    47   return E_OBJ;           /* XXX - Should never get here */
     44  _ITRON_return_errorno( E_OBJ );  /* XXX - Should never get here */
    4845}
    4946
Note: See TracChangeset for help on using the changeset viewer.