source: rtems/cpukit/include/rtems/system.h @ 3d86d83

5
Last change on this file since 3d86d83 was 3d86d83, checked in by Sebastian Huber <sebastian.huber@…>, on May 5, 2020 at 12:49:54 PM

rtems: Deprecate RTEMS_MAXIMUM_NAME_LENGTH

This define is

  • not documented,
  • not used in the RTEMS code base, and
  • longer than sizeof(rtems_name).

Close #3971.

  • Property mode set to 100644
File size: 1.3 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/**
26 *  @defgroup RTEMSScoreSystem System Information
27 *
28 *  @ingroup RTEMSScore
29 */
30/**@{*/
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36#ifndef ASM
37
38/*
39 * The use of this variable is deprecated, use rtems_get_version_string()
40 * instead.
41 */
42extern RTEMS_DEPRECATED const char _RTEMS_version[];
43
44/**
45 *  The following is the extern for the RTEMS copyright string.
46 */
47extern const char _Copyright_Notice[];
48
49typedef RTEMS_DEPRECATED uint32_t RTEMS_MAXIMUM_NAME_LENGTH;
50/* The use of this define is deprecated, use sizeof(rtems_name) instead */
51#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(RTEMS_MAXIMUM_NAME_LENGTH)
52
53#endif /* ASM */
54
55#ifdef __cplusplus
56}
57#endif
58
59/**@}*/
60#endif
61/* end of include file */
Note: See TracBrowser for help on using the repository browser.