PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__

This commit is contained in:
Sebastian Huber
2013-08-06 16:10:26 +02:00
parent 6b4e448ebe
commit ae75429ca1
35 changed files with 0 additions and 68 deletions

View File

@@ -3,7 +3,6 @@
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
*/ */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <bsp.h> #include <bsp.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -10,9 +10,6 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
/* so we can see _API_extensions_Run_postswitch */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <bsp.h> #include <bsp.h>
#include <bsp/irq.h> #include <bsp/irq.h>
#include <bsp/irq-generic.h> #include <bsp/irq-generic.h>

View File

@@ -18,8 +18,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)
#include <sys/time.h> #include <sys/time.h>
#include <errno.h> #include <errno.h>

View File

@@ -9,14 +9,7 @@
#include "config.h" #include "config.h"
#endif #endif
/* This is always defined on RTEMS Scheduler Simulator and thus
* we get a redefined warning if this is not present.
*/
#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/error.h> #include <rtems/error.h>
#include <rtems/assoc.h> #include <rtems/assoc.h>
#include <rtems/score/sysstate.h> #include <rtems/score/sysstate.h>

View File

@@ -9,7 +9,6 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>
#include <rtems/score/protectedheap.h> #include <rtems/score/protectedheap.h>

View File

@@ -18,7 +18,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>
#include <rtems/score/protectedheap.h> #include <rtems/score/protectedheap.h>

View File

@@ -18,7 +18,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>
#include "malloc_p.h" #include "malloc_p.h"

View File

@@ -18,7 +18,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>
#include "malloc_p.h" #include "malloc_p.h"

View File

@@ -18,7 +18,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -29,12 +29,6 @@ int fdatasync(int); /* still not always prototyped */
#include <stdio.h> #include <stdio.h>
#include <rtems.h> #include <rtems.h>
/*
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/libio_.h>
#include <rtems/seterr.h>
*/
/* XXX check standards -- Linux version appears to be void */ /* XXX check standards -- Linux version appears to be void */
void _fwalk(struct _reent *, void *); void _fwalk(struct _reent *, void *);

View File

@@ -18,10 +18,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef RTEMS_POSIX_API
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#endif
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@@ -69,8 +65,6 @@ static rtems_id pipe_semaphore = RTEMS_ID_NONE;
#ifdef RTEMS_POSIX_API #ifdef RTEMS_POSIX_API
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/rtems/barrier.h> #include <rtems/rtems/barrier.h>
#include <rtems/score/thread.h> #include <rtems/score/thread.h>

View File

@@ -8,7 +8,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/monitor.h> #include <rtems/monitor.h>

View File

@@ -21,9 +21,7 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/monitor.h> #include <rtems/monitor.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -6,7 +6,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/monitor.h> #include <rtems/monitor.h>

View File

@@ -8,7 +8,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/monitor.h> #include <rtems/monitor.h>

View File

@@ -17,7 +17,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/monitor.h> #include <rtems/monitor.h>
#include <rtems/extensionimpl.h> #include <rtems/extensionimpl.h>

View File

@@ -18,7 +18,6 @@
#include <strings.h> #include <strings.h>
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -9,7 +9,6 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif

View File

@@ -4,10 +4,6 @@
#define RTEMS_FAST_MUTEX #define RTEMS_FAST_MUTEX
#ifdef RTEMS_FAST_MUTEX
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#endif
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -4,10 +4,6 @@
#define RTEMS_FAST_MUTEX #define RTEMS_FAST_MUTEX
#ifdef RTEMS_FAST_MUTEX
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#endif
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -25,7 +25,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT #define CONFIGURE_INIT
#include "system.h" #include "system.h"

View File

@@ -17,7 +17,6 @@
* Some of the fatal error cases require the ability to peek inside RTEMS * Some of the fatal error cases require the ability to peek inside RTEMS
*/ */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <tmacros.h> #include <tmacros.h>

View File

@@ -11,8 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define TEST_NAME "05" #define TEST_NAME "05"
#define TEST_STRING "User Signals" #define TEST_STRING "User Signals"
#define SIGNAL_ONE SIGUSR1 #define SIGNAL_ONE SIGUSR1

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <pmacros.h> #include <pmacros.h>
#include <errno.h> #include <errno.h>
#include <pthread.h> #include <pthread.h>

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h> #include <tmacros.h>
#include "test_support.h" #include "test_support.h"

View File

@@ -11,8 +11,6 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif

View File

@@ -25,12 +25,6 @@ rtems_timer_service_routine TIMER_service_routine(
void *user_data void *user_data
); );
/*
* We have to extern this rather than use __RTEMS_VIOLATE_KERNEL_VISIBILITY__
* because this variable isn't actually in any .h.
*/
extern Watchdog_Interval _Timer_Server_ticks_last_time;
volatile bool _timer_passage_1 = FALSE; volatile bool _timer_passage_1 = FALSE;
volatile bool _timer_passage_2 = FALSE; volatile bool _timer_passage_2 = FALSE;

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h> #include <tmacros.h>
#include "test_support.h" #include "test_support.h"

View File

@@ -14,7 +14,6 @@
/* /*
* Some of the fatal error cases require the ability to peek inside RTEMS * Some of the fatal error cases require the ability to peek inside RTEMS
*/ */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <tmacros.h> #include <tmacros.h>

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h> #include <tmacros.h>
#include <intrcritical.h> #include <intrcritical.h>

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h> #include <tmacros.h>
#include <intrcritical.h> #include <intrcritical.h>
#include <rtems/rtems/ratemonimpl.h> #include <rtems/rtems/ratemonimpl.h>

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h> #include <tmacros.h>
#include <intrcritical.h> #include <intrcritical.h>

View File

@@ -13,7 +13,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h> #include <tmacros.h>
#include <intrcritical.h> #include <intrcritical.h>

View File

@@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h> #include <tmacros.h>
#include <intrcritical.h> #include <intrcritical.h>

View File

@@ -14,7 +14,6 @@
#endif #endif
#define CONFIGURE_INIT #define CONFIGURE_INIT
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include "system.h" #include "system.h"
#include <rtems/rtems/tasksimpl.h> #include <rtems/rtems/tasksimpl.h>