RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Task Context Management Restoring a Context

PREV UP NEXT Bookshelf RTEMS Porting Guide

6.3.4: Restoring a Context

The _CPU_Context_restore routine is generally used only to restart the currently executing thread (i.e. self) in an efficient manner. In many ports, it can simply be a label in _CPU_Context_switch. It may be unnecessary to reload some registers.

void _CPU_Context_restore(
  Context_Control *new_context
);


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2004 OAR Corporation