source: rtems/cpukit/include/rtems/system.h @ 63274da

5
Last change on this file since 63274da was 63274da, checked in by Sebastian Huber <sebastian.huber@…>, on May 5, 2020 at 12:53:42 PM

rtems: Deprecate <rtems/system.h>

Close #3972.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 * @file
3 *
4 * @brief Information Included in Every Function in the Executive
5 *
6 * This include file contains information that is included in every
7 * function in the executive.  This must be the first include file
8 * included in all internal RTEMS files.
9 */
10
11/*
12 *  COPYRIGHT (c) 1989-2007.
13 *  On-Line Applications Research Corporation (OAR).
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.org/license/LICENSE.
18 */
19
20#ifndef _RTEMS_SYSTEM_H
21#define _RTEMS_SYSTEM_H
22
23#include <rtems/score/cpu.h>
24
25#ifndef _RTEMS_H
26#warning "This header file is deprecated and will be removed in RTEMS 6"
27#endif
28
29/**
30 *  @defgroup RTEMSScoreSystem System Information
31 *
32 *  @ingroup RTEMSScore
33 */
34/**@{*/
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40#ifndef ASM
41
42/*
43 * The use of this variable is deprecated, use rtems_get_version_string()
44 * instead.
45 */
46extern RTEMS_DEPRECATED const char _RTEMS_version[];
47
48/**
49 *  The following is the extern for the RTEMS copyright string.
50 */
51extern const char _Copyright_Notice[];
52
53typedef RTEMS_DEPRECATED uint32_t RTEMS_MAXIMUM_NAME_LENGTH;
54/* The use of this define is deprecated, use sizeof(rtems_name) instead */
55#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(RTEMS_MAXIMUM_NAME_LENGTH)
56
57#endif /* ASM */
58
59#ifdef __cplusplus
60}
61#endif
62
63/**@}*/
64#endif
65/* end of include file */
Note: See TracBrowser for help on using the repository browser.