diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-16 08:15:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-26 09:13:19 +0100 |
commit | 143696acbdd8740eaa8114c7c307ef4834134454 (patch) | |
tree | 1e520c91984f3b806ff00608568a0e2a7113b278 /c | |
parent | basedefs.h: Add compiler attributes (diff) | |
download | rtems-143696acbdd8740eaa8114c7c307ef4834134454.tar.bz2 |
basedefs.h: Add and use RTEMS_NO_RETURN
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/shared/include/bootcard.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/include/fatal.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/include/leon.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/shared/include/bootcard.h b/c/src/lib/libbsp/shared/include/bootcard.h index c39460292d..53a1844424 100644 --- a/c/src/lib/libbsp/shared/include/bootcard.h +++ b/c/src/lib/libbsp/shared/include/bootcard.h @@ -100,7 +100,7 @@ void bsp_reset(void); * This style of initialization ensures that the C++ global constructors are * executed after RTEMS is initialized. */ -void boot_card(const char *cmdline) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; +void boot_card(const char *cmdline) RTEMS_NO_RETURN; #ifdef CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK /** diff --git a/c/src/lib/libbsp/shared/include/fatal.h b/c/src/lib/libbsp/shared/include/fatal.h index d4cd50f517..6c390d0834 100644 --- a/c/src/lib/libbsp/shared/include/fatal.h +++ b/c/src/lib/libbsp/shared/include/fatal.h @@ -120,7 +120,7 @@ typedef enum { QORIQ_FATAL_FDT_NO_TIMEBASE_FREQUENCY } bsp_fatal_code; -RTEMS_COMPILER_NO_RETURN_ATTRIBUTE static inline void +RTEMS_NO_RETURN static inline void bsp_fatal( bsp_fatal_code code ) { rtems_fatal( RTEMS_FATAL_SOURCE_BSP, (rtems_fatal_code) code ); diff --git a/c/src/lib/libbsp/sparc/leon3/include/leon.h b/c/src/lib/libbsp/sparc/leon3/include/leon.h index 8ad8a18281..5ac1d71872 100644 --- a/c/src/lib/libbsp/sparc/leon3/include/leon.h +++ b/c/src/lib/libbsp/sparc/leon3/include/leon.h @@ -376,7 +376,7 @@ void leon3_ext_irq_init(void); void bsp_debug_uart_init(void); -void leon3_power_down_loop(void) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; +void leon3_power_down_loop(void) RTEMS_NO_RETURN; static inline uint32_t leon3_get_cpu_count( volatile struct irqmp_regs *irqmp |