mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:00:22 +08:00
rtems: Delete empty _RTEMS_API_Initialize()
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
@@ -95,20 +95,6 @@
|
||||
#define SAPI_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 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
|
||||
|
||||
Reference in New Issue
Block a user