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 05/05/20 at 12:53:42

rtems: Deprecate <rtems/system.h>

Close #3972.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[28352fae]1/**
[3cf4031]2 * @file
[1dbbc0c]3 *
[3cf4031]4 * @brief Information Included in Every Function in the Executive
[ac7d5ef0]5 *
[3cf4031]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.
[baff4da]9 */
10
11/*
[7d12442c]12 *  COPYRIGHT (c) 1989-2007.
[ac7d5ef0]13 *  On-Line Applications Research Corporation (OAR).
14 *
[98e4ebf5]15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
[c499856]17 *  http://www.rtems.org/license/LICENSE.
[ac7d5ef0]18 */
19
[092f142a]20#ifndef _RTEMS_SYSTEM_H
21#define _RTEMS_SYSTEM_H
[ac7d5ef0]22
[48fed9a]23#include <rtems/score/cpu.h>
[9f9a82b]24
[63274da]25#ifndef _RTEMS_H
26#warning "This header file is deprecated and will be removed in RTEMS 6"
27#endif
28
[1dbbc0c]29/**
[4c20da4b]30 *  @defgroup RTEMSScoreSystem System Information
[1dbbc0c]31 *
[4c20da4b]32 *  @ingroup RTEMSScore
[1dbbc0c]33 */
34/**@{*/
35
[ac7d5ef0]36#ifdef __cplusplus
37extern "C" {
38#endif
39
[232cdcb]40#ifndef ASM
[9f9a82b]41
[34b098e]42/*
43 * The use of this variable is deprecated, use rtems_get_version_string()
44 * instead.
[ac7d5ef0]45 */
[34b098e]46extern RTEMS_DEPRECATED const char _RTEMS_version[];
[ac7d5ef0]47
[6a07436]48/**
49 *  The following is the extern for the RTEMS copyright string.
50 */
51extern const char _Copyright_Notice[];
[ac7d5ef0]52
[3d86d83]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)
[9f9a82b]56
57#endif /* ASM */
[3235ad9]58
[ac7d5ef0]59#ifdef __cplusplus
60}
61#endif
62
[1dbbc0c]63/**@}*/
[ac7d5ef0]64#endif
[b10825c]65/* end of include file */
Note: See TracBrowser for help on using the repository browser.