summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-12-14 15:28:51 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-03 10:00:54 +0100
commit58089ff3ad3bdeab4c260d00474a8ba6b70294c9 (patch)
treeb58ef5fbdeffce7650b00990870c9373dfe6fb56
parentOptional Classic Barrier initialization (diff)
downloadrtems-58089ff3ad3bdeab4c260d00474a8ba6b70294c9.tar.bz2
rtems: Delete empty _RTEMS_API_Initialize()
-rw-r--r--cpukit/rtems/Makefile.am1
-rw-r--r--cpukit/rtems/include/rtems/rtems/rtemsapi.h37
-rw-r--r--cpukit/rtems/preinstall.am4
-rw-r--r--cpukit/rtems/src/taskinitusers.c1
-rw-r--r--cpukit/sapi/Makefile.am2
-rw-r--r--cpukit/sapi/src/exinit.c3
-rw-r--r--cpukit/sapi/src/rtemsapi.c33
-rw-r--r--cpukit/score/include/rtems/score/basedefs.h14
8 files changed, 1 insertions, 94 deletions
diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am
index a295dafddc..c92a7c8bc8 100644
--- a/cpukit/rtems/Makefile.am
+++ b/cpukit/rtems/Makefile.am
@@ -39,7 +39,6 @@ include_rtems_rtems_HEADERS += include/rtems/rtems/ratemon.h
include_rtems_rtems_HEADERS += include/rtems/rtems/ratemonimpl.h
include_rtems_rtems_HEADERS += include/rtems/rtems/region.h
include_rtems_rtems_HEADERS += include/rtems/rtems/regionimpl.h
-include_rtems_rtems_HEADERS += include/rtems/rtems/rtemsapi.h
include_rtems_rtems_HEADERS += include/rtems/rtems/sem.h
include_rtems_rtems_HEADERS += include/rtems/rtems/semimpl.h
include_rtems_rtems_HEADERS += include/rtems/rtems/signal.h
diff --git a/cpukit/rtems/include/rtems/rtems/rtemsapi.h b/cpukit/rtems/include/rtems/rtems/rtemsapi.h
deleted file mode 100644
index be60241d32..0000000000
--- a/cpukit/rtems/include/rtems/rtems/rtemsapi.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * @file rtems/rtems/rtemsapi.h
- *
- * @defgroup ClassicAPI RTEMS API Support
- *
- * @ingroup ClassicRTEMS
- * @brief RTEMS API Support
- *
- * This routine initializes the RTEMS API by invoking the initialization
- * routine for each RTEMS manager with the appropriate parameters
- * from the configuration_table.
- */
-
-/* COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifndef _RTEMS_RTEMS_RTEMSAPI_H
-#define _RTEMS_RTEMS_RTEMSAPI_H
-
-#include <rtems/config.h>
-
-/**
- * @brief Initializes the RTEMS API
- *
- * This routine initializes the RTEMS API by invoking the initialization
- * routine for each RTEMS manager with the appropriate parameters
- * from the configuration_table.
- */
-void _RTEMS_API_Initialize(void);
-
-#endif
-/* end of include file */
diff --git a/cpukit/rtems/preinstall.am b/cpukit/rtems/preinstall.am
index e082633391..a676cd909a 100644
--- a/cpukit/rtems/preinstall.am
+++ b/cpukit/rtems/preinstall.am
@@ -135,10 +135,6 @@ $(PROJECT_INCLUDE)/rtems/rtems/regionimpl.h: include/rtems/rtems/regionimpl.h $(
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/regionimpl.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/regionimpl.h
-$(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h: include/rtems/rtems/rtemsapi.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/rtemsapi.h
-
$(PROJECT_INCLUDE)/rtems/rtems/sem.h: include/rtems/rtems/sem.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/sem.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/sem.h
diff --git a/cpukit/rtems/src/taskinitusers.c b/cpukit/rtems/src/taskinitusers.c
index aeed5b4523..4403cc43e1 100644
--- a/cpukit/rtems/src/taskinitusers.c
+++ b/cpukit/rtems/src/taskinitusers.c
@@ -23,7 +23,6 @@
#include <rtems/rtems/status.h>
#include <rtems/rtems/support.h>
#include <rtems/rtems/modes.h>
-#include <rtems/rtems/rtemsapi.h>
#include <rtems/score/assert.h>
#include <rtems/score/stack.h>
#include <rtems/rtems/tasksimpl.h>
diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am
index e930a4ca95..91708095a7 100644
--- a/cpukit/sapi/Makefile.am
+++ b/cpukit/sapi/Makefile.am
@@ -31,7 +31,7 @@ libsapi_a_SOURCES = src/extension.c src/extensioncreate.c \
src/exshutdown.c src/io.c src/ioclose.c src/iocontrol.c src/iodata.c \
src/ioinitialize.c src/ioopen.c src/ioread.c src/ioregisterdriver.c \
src/iounregisterdriver.c src/iowrite.c src/posixapi.c \
- src/rtemsapi.c src/getversionstring.c \
+ src/getversionstring.c \
src/chainappendnotify.c src/chaingetnotify.c src/chaingetwait.c \
src/chainprependnotify.c src/rbheap.c src/interrtext.c \
src/fatal2.c src/fatalsrctext.c
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 4b04b5f252..dd5e2c90a0 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -53,7 +53,6 @@
#include <rtems/sptables.h>
-#include <rtems/rtems/rtemsapi.h>
#include <rtems/posix/posixapi.h>
#ifdef RTEMS_DRVMGR_STARTUP
@@ -135,8 +134,6 @@ static void rtems_initialize_data_structures(void)
/* MANAGERS */
- _RTEMS_API_Initialize();
-
_POSIX_API_Initialize();
}
diff --git a/cpukit/sapi/src/rtemsapi.c b/cpukit/sapi/src/rtemsapi.c
deleted file mode 100644
index 0fddec67e9..0000000000
--- a/cpukit/sapi/src/rtemsapi.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * @file
- *
- * @brief Initializes the RTEMS API
- *
- * @ingroup ClassicRTEMS
- */
-
-/*
- * COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#define RTEMS_API_INIT
-
-#include <rtems/system.h>
-#include <rtems/rtems/status.h>
-#include <rtems/rtems/rtemsapi.h>
-
-#include <rtems/rtems/intr.h>
-#include <rtems/rtems/clock.h>
-
-void _RTEMS_API_Initialize(void)
-{
-}
diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h
index 25f505897d..34e021a639 100644
--- a/cpukit/score/include/rtems/score/basedefs.h
+++ b/cpukit/score/include/rtems/score/basedefs.h
@@ -101,20 +101,6 @@
* or the initialization file for the appropriate API. It is
* referenced as "external" in every other file.
*/
-#ifdef RTEMS_API_INIT
- #undef RTEMS_EXTERN
- #define RTEMS_EXTERN
-#else
- #undef RTEMS_EXTERN
- #define RTEMS_EXTERN extern
-#endif
-
-/**
- * The following ensures that all data is declared in the space
- * of the initialization routine for either the Initialization Manager
- * or the initialization file for the appropriate API. It is
- * referenced as "external" in every other file.
- */
#ifdef POSIX_API_INIT
#undef POSIX_EXTERN
#define POSIX_EXTERN