forked from Imagelibrary/rtems
@@ -10,7 +10,7 @@
|
|||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2007.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* Copyright (c) 2010, 2016 embedded brains GmbH.
|
* Copyright (c) 2010, 2017 embedded brains GmbH.
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
||||||
@@ -90,6 +90,16 @@
|
|||||||
#define RTEMS_COMPILER_MEMORY_BARRIER()
|
#define RTEMS_COMPILER_MEMORY_BARRIER()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The following defines a compiler specific attribute which informs
|
||||||
|
* the compiler that the method must not be inlined.
|
||||||
|
*/
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#define RTEMS_NO_INLINE __attribute__((__noinline__))
|
||||||
|
#else
|
||||||
|
#define RTEMS_NO_INLINE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The following macro is a compiler specific way to indicate that
|
* The following macro is a compiler specific way to indicate that
|
||||||
* the method will NOT return to the caller. This can assist the
|
* the method will NOT return to the caller. This can assist the
|
||||||
|
|||||||
Reference in New Issue
Block a user