system.h File Reference

#include <rtems/score/cpuopts.h>
#include <stddef.h>
#include <rtems/stdint.h>
#include <rtems/score/cpu.h>

Include dependency graph for system.h:

Go to the source code of this file.

Defines

#define SCORE_EXTERN   extern
#define SAPI_EXTERN   extern
#define RTEMS_EXTERN   extern
#define POSIX_EXTERN   extern
#define ITRON_EXTERN   extern
#define RTEMS_INLINE_ROUTINE   static inline
#define RTEMS_COMPILER_MEMORY_BARRIER()
#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
#define TRUE   (1)
#define RTEMS_offsetof(type, field)   ((uint32_t ) &(((type *) 0)->field))
#define RTEMS_MAXIMUM_NAME_LENGTH   sizeof(rtems_name)

Typedefs

typedef void * proc_ptr

Variables

const char _RTEMS_version []
const char _Copyright_Notice []


Detailed Description

This include file contains information that is included in every function in the executive. This must be the first include file included in all internal RTEMS files.

Define Documentation

#define ITRON_EXTERN   extern

The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. It is referenced as "external" in every other file.

#define POSIX_EXTERN   extern

The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. It is referenced as "external" in every other file.

 
#define RTEMS_COMPILER_MEMORY_BARRIER (  ) 

The following macro is a compiler specific way to ensure that memory writes are not reordered around certian points. This specifically can impact interrupt disable and thread dispatching critical sections.

Referenced by _Thread_Disable_dispatch(), and _Thread_Unnest_dispatch().

#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE

The following macro is a compiler specific way to indicate that the method will NOT return to the caller. This can assist the compiler in code generation and avoid unreachable paths. This can impact the code generated following calls to rtems_fatal_error_occurred and _Internal_error_Occurred.

#define RTEMS_EXTERN   extern

The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. It is referenced as "external" in every other file.

#define RTEMS_INLINE_ROUTINE   static inline

The following (in conjunction with compiler arguments) are used to choose between the use of static inline functions and macro functions. The static inline implementation allows better type checking with no cost in code size or execution speed.

#define RTEMS_MAXIMUM_NAME_LENGTH   sizeof(rtems_name)

This macro defines the maximum length of a Classic API name.

#define RTEMS_offsetof ( type,
field   )     ((uint32_t ) &(((type *) 0)->field))

This macro is used to obtain the offset of a field in a structure.

#define SAPI_EXTERN   extern

The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. It is referenced as "external" in every other file.

#define SCORE_EXTERN   extern

The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. It is referenced as "external" in every other file.

#define TRUE   (1)

Boolean constant TRUE

Referenced by _Addresses_Is_aligned(), _Objects_Is_api_valid(), and _Objects_Is_local_id().


Typedef Documentation

typedef void* proc_ptr

XXX: Eventually proc_ptr needs to disappear!!!


Variable Documentation

const char _Copyright_Notice[]

The following is the extern for the RTEMS copyright string.

const char _RTEMS_version[]

The following is the extern for the RTEMS version string.

Note:
The contents of this string are CPU specific.


Generated on Fri Jul 4 12:16:39 2008 for RTEMSSuperCore by  doxygen 1.5.6