RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Task Context Management Size of Floating Point Context Macro

PREV UP NEXT Bookshelf RTEMS Porting Guide

6.4.5: Size of Floating Point Context Macro

The CPU_CONTEXT_FP_SIZE macro is set to the size of the floating point context area. On some CPUs this will not be a "sizeof" because the format of the floating point area is not defined -- only the size is. This is usually on CPUs with a "floating point save context" instruction. In general, though it is easier to define the structure as a "sizeof" operation and define the Context_Control_fp structure to be an area of bytes of the required size in this case.

#define CPU_CONTEXT_FP_SIZE sizeof( Context_Control_fp )


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2004 OAR Corporation