RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Task Context Management Saving a Floating Point Context

PREV UP NEXT Bookshelf RTEMS Porting Guide

6.4.8: Saving a Floating Point Context

The _CPU_Context_save_fp_context routine is responsible for saving the FP context at *fp_context_ptr. If the point to load the FP context from is changed then the pointer is modified by this routine.

Sometimes a macro implementation of this is in cpu.h which dereferences the ** and a similarly named routine in this file is passed something like a (Context_Control_fp *). The general rule on making this decision is to avoid writing assembly language.

void _CPU_Context_save_fp(
  void **fp_context_ptr
)


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2004 OAR Corporation