summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-08 15:09:39 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:58 -0500
commit81074900dfbf08326d735bb37d78c2dc8e3e8d2b (patch)
treeeb461773f6bfbed56f860bf03cedb535172ecb42
parentlibbsp/powerpc/shared/tod/todcfg.c: Fix method prototype to eliminate warning (diff)
downloadrtems-81074900dfbf08326d735bb37d78c2dc8e3e8d2b.tar.bz2
avr/rtems/score/cpu.h: Fix macros to avoid warnings
-rw-r--r--cpukit/score/cpu/avr/rtems/score/cpu.h11
-rw-r--r--doc/tools/bmenu/address.inl31
2 files changed, 5 insertions, 37 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h
index ba3bfb8015..7a6e9d91dc 100644
--- a/cpukit/score/cpu/avr/rtems/score/cpu.h
+++ b/cpukit/score/cpu/avr/rtems/score/cpu.h
@@ -685,14 +685,13 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
*
* AVR Specific Information:
*
- * XXX document implementation including references if appropriate
+ * TODO: As of 8 October 2014, this method is not implemented.
*/
-
-#define _CPU_ISR_Set_level( new_level ) \
- { \
- }
-
#ifndef ASM
+static inline void _CPU_ISR_Set_level( unsigned int new_level )
+{
+}
+
uint32_t _CPU_ISR_Get_level( void );
diff --git a/doc/tools/bmenu/address.inl b/doc/tools/bmenu/address.inl
deleted file mode 100644
index f47647f801..0000000000
--- a/doc/tools/bmenu/address.inl
+++ /dev/null
@@ -1,31 +0,0 @@
-/* inline/address.inl
- *
- * This include file contains the bodies of the routines
- * about addresses which are inlined.
- *
- * COPYRIGHT (c) 1988-2002.
- * On-Line Applications Research Corporation (OAR).
- * All rights reserved.
- */
-
-#ifndef __INLINE_ADDRESSES_inl
-#define __INLINE_ADDRESSES_inl
-
-#include <stddef.h>
-
-/*PAGE
- *
- * _Addresses_Add_offset
- *
- */
-
-STATIC INLINE void *_Addresses_Add_offset (
- void *base,
- size_t offset
-)
-{
- return (base + offset);
-}
-
-#endif
-/* end of include file */