Ignore:
Timestamp:
04/30/21 13:07:14 (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e10dec0
Parents:
8b15a324
git-author:
Sebastian Huber <sebastian.huber@…> (04/30/21 13:07:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/30/21 13:47:03)
Message:

basedefs: Add RTEMS_NOINIT

Update #3866.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/basedefs.h

    r8b15a324 ra84bf96  
    354354#define RTEMS_EXPAND( _token ) _token
    355355
     356/* Generated from spec:/rtems/basedefs/if/section */
     357
     358/**
     359 * @ingroup RTEMSAPIBaseDefs
     360 *
     361 * @brief Instructs the compiler to place the variable or function in the
     362 *   section.
     363 *
     364 * @param _section is the section name as a string.
     365 */
     366#if defined(__GNUC__)
     367  #define RTEMS_SECTION( _section ) __attribute__(( __section__( _section ) ))
     368#else
     369  #define RTEMS_SECTION( _section )
     370#endif
     371
    356372/* Generated from spec:/rtems/basedefs/if/string */
    357373
     
    614630#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE RTEMS_NO_RETURN
    615631
     632/* Generated from spec:/rtems/basedefs/if/noinit */
     633
     634/**
     635 * @ingroup RTEMSAPIBaseDefs
     636 *
     637 * @brief Instructs the compiler to place the variable in a section which is
     638 *   not initialized.
     639 */
     640#define RTEMS_NOINIT RTEMS_SECTION( ".noinit" )
     641
    616642/* Generated from spec:/rtems/basedefs/if/obfuscate-variable */
    617643
     
    751777#else
    752778  #define RTEMS_RETURN_ADDRESS() NULL
    753 #endif
    754 
    755 /* Generated from spec:/rtems/basedefs/if/section */
    756 
    757 /**
    758  * @ingroup RTEMSAPIBaseDefs
    759  *
    760  * @brief Instructs the compiler to place the variable or function in the
    761  *   section.
    762  *
    763  * @param _section is the section name as a string.
    764  */
    765 #if defined(__GNUC__)
    766   #define RTEMS_SECTION( _section ) __attribute__(( __section__( _section ) ))
    767 #else
    768   #define RTEMS_SECTION( _section )
    769779#endif
    770780
Note: See TracChangeset for help on using the changeset viewer.