diff options
author | Amar Takhar <amar@rtems.org> | 2015-12-11 17:42:52 -0500 |
---|---|---|
committer | Amar Takhar <amar@rtems.org> | 2015-12-11 17:42:52 -0500 |
commit | ea3940c92ee9aa6e3405ea2810a862ef78a44cd1 (patch) | |
tree | 781b4b1530ddcb8131b76bd87537c7e2721b568b /include/rtems/system.h | |
parent | 4a85c73bd4bda4d314a91bb9ee4b3da5163e8221 (diff) |
Stage 1: Move single headers.
Diffstat (limited to 'include/rtems/system.h')
-rw-r--r-- | include/rtems/system.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/include/rtems/system.h b/include/rtems/system.h new file mode 100644 index 0000000000..26156c64f7 --- /dev/null +++ b/include/rtems/system.h @@ -0,0 +1,66 @@ +/** + * @file + * + * @brief Information Included in Every Function in the Executive + * + * 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. + */ + +/* + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#ifndef _RTEMS_SYSTEM_H +#define _RTEMS_SYSTEM_H + +#include <rtems/score/cpu.h> + +/** + * @defgroup ScoreSystem System Information + * + * @ingroup Score + */ +/**@{*/ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef ASM + +#ifdef RTEMS_POSIX_API +/** The following is used by the POSIX implementation to catch bad paths. */ +int POSIX_NOT_IMPLEMENTED( void ); +#endif + +/** + * The following is the extern for the RTEMS version string. + * + * @note The contents of this string are CPU specific. + */ +extern const char _RTEMS_version[]; + +/** + * The following is the extern for the RTEMS copyright string. + */ +extern const char _Copyright_Notice[]; + +/** This macro defines the maximum length of a Classic API name. */ +#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(rtems_name) + +#endif /* ASM */ + +#ifdef __cplusplus +} +#endif + +/**@}*/ +#endif +/* end of include file */ |