Changeset d67c869 in rtems


Ignore:
Timestamp:
Mar 23, 2016, 6:43:01 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
7f9e067f
Parents:
2518516
git-author:
Sebastian Huber <sebastian.huber@…> (03/23/16 06:43:01)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/23/16 06:45:11)
Message:

score: Use RTEMS_UNREACHABLE()

The _CPU_Context_switch() in _Thread_Start_multitasking() does in fact
not return.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadstartmultitasking.c

    r2518516 rd67c869  
    2020
    2121#include <rtems/score/threadimpl.h>
     22#include <rtems/score/assert.h>
    2223
    2324void _Thread_Start_multitasking( void )
     
    5859    _CPU_Context_Set_is_executing( &trash, true );
    5960    _CPU_Context_switch( &trash, &heir->Registers );
     61    RTEMS_UNREACHABLE();
    6062  }
    6163#else
Note: See TracChangeset for help on using the changeset viewer.