From 81074900dfbf08326d735bb37d78c2dc8e3e8d2b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 8 Oct 2014 15:09:39 -0500 Subject: avr/rtems/score/cpu.h: Fix macros to avoid warnings --- cpukit/score/cpu/avr/rtems/score/cpu.h | 11 +++++------ doc/tools/bmenu/address.inl | 31 ------------------------------- 2 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 doc/tools/bmenu/address.inl 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 - -/*PAGE - * - * _Addresses_Add_offset - * - */ - -STATIC INLINE void *_Addresses_Add_offset ( - void *base, - size_t offset -) -{ - return (base + offset); -} - -#endif -/* end of include file */ -- cgit v1.2.3