4.115
Last change
on this file since 9f9a82b was
9f9a82b,
checked in by Sebastian Huber <sebastian.huber@…>, on 07/16/10 at 08:31:34
|
2010-07-16 Sebastian Huber <sebastian.huber@…>
- score/include/rtems/score/basedefs.h: New file.
- score/Makefile.am, score/preinstall.am: Reflect change above.
- score/include/rtems/score/percpu.h: Include <rtems/score/cpu.h>.
- score/include/rtems/system.h: Moved definition of SCORE_EXTERN,
SAPI_EXTERN, RTEMS_EXTERN, POSIX_EXTERN, RTEMS_INLINE_ROUTINE,
RTEMS_COMPILER_MEMORY_BARRIER, RTEMS_COMPILER_NO_RETURN_ATTRIBUTE,
RTEMS_COMPILER_DEPRECATED_ATTRIBUTE, TRUE, and FALSE to
<rtems/score/basedefs.h>.
Removed include of <rtems/score/cpu.h>, <stdint.h> and <stddef.h>.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/system.h |
---|
3 | * |
---|
4 | * This include file contains information that is included in every |
---|
5 | * function in the executive. This must be the first include file |
---|
6 | * included in all internal RTEMS files. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * COPYRIGHT (c) 1989-2007. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.com/license/LICENSE. |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | #ifndef _RTEMS_SYSTEM_H |
---|
21 | #define _RTEMS_SYSTEM_H |
---|
22 | |
---|
23 | #include <rtems/score/percpu.h> |
---|
24 | |
---|
25 | #ifdef __cplusplus |
---|
26 | extern "C" { |
---|
27 | #endif |
---|
28 | |
---|
29 | #ifndef ASM |
---|
30 | |
---|
31 | #ifdef RTEMS_POSIX_API |
---|
32 | /** The following is used by the POSIX implementation to catch bad paths. */ |
---|
33 | int POSIX_NOT_IMPLEMENTED( void ); |
---|
34 | #endif |
---|
35 | |
---|
36 | /** |
---|
37 | * This macro is used to obtain the offset of a field in a structure. |
---|
38 | */ |
---|
39 | #define RTEMS_offsetof(type, field) \ |
---|
40 | ((uintptr_t) &(((type *) 0)->field)) |
---|
41 | |
---|
42 | /** |
---|
43 | * The following is the extern for the RTEMS version string. |
---|
44 | * |
---|
45 | * @note The contents of this string are CPU specific. |
---|
46 | */ |
---|
47 | extern const char _RTEMS_version[]; |
---|
48 | |
---|
49 | /** |
---|
50 | * The following is the extern for the RTEMS copyright string. |
---|
51 | */ |
---|
52 | extern const char _Copyright_Notice[]; |
---|
53 | |
---|
54 | /** This macro defines the maximum length of a Classic API name. */ |
---|
55 | #define RTEMS_MAXIMUM_NAME_LENGTH sizeof(rtems_name) |
---|
56 | |
---|
57 | #endif /* ASM */ |
---|
58 | |
---|
59 | #ifdef __cplusplus |
---|
60 | } |
---|
61 | #endif |
---|
62 | |
---|
63 | #endif |
---|
64 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.