forked from Imagelibrary/rtems
Renamed to rtemstimer.c to avoid conflict with timer drivers in EVERY
BSP as we transition to more .o's and less .rel's.
This commit is contained in:
@@ -35,7 +35,7 @@ CLOCK_PIECES=\
|
||||
clock clockget clockset clocktick
|
||||
|
||||
TIMER_PIECES=\
|
||||
timer timercancel timercreate timerdelete timerfireafter \
|
||||
rtemstimer timercancel timercreate timerdelete timerfireafter \
|
||||
timerfirewhen timerident timerreset
|
||||
|
||||
MESSAGE_QUEUE_PIECES=\
|
||||
@@ -55,7 +55,7 @@ SIGNAL_PIECES=\
|
||||
|
||||
REGION_PIECES=\
|
||||
region regioncreate regiondelete regionextend regiongetsegment \
|
||||
regiongetsegmentsize regionident regionreturnsegemnt regionreturnsegemnt
|
||||
regiongetsegmentsize regionident regionreturnsegment regionreturnsegment
|
||||
|
||||
PARTITION_PIECES=\
|
||||
part partcreate partdelete partgetbuffer partident partreturnbuffer
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Timer Manager
|
||||
*
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1998.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
* Copyright assigned to U.S. Government, 1994.
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.OARcorp.com/rtems/license.html.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/rtems/status.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* _Timer_Manager_initialization
|
||||
*
|
||||
* This routine initializes all timer manager related data structures.
|
||||
*
|
||||
* Input parameters:
|
||||
* maximum_timers - number of timers to initialize
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*/
|
||||
|
||||
void _Timer_Manager_initialization(
|
||||
unsigned32 maximum_timers
|
||||
)
|
||||
{
|
||||
_Objects_Initialize_information(
|
||||
&_Timer_Information,
|
||||
OBJECTS_RTEMS_TIMERS,
|
||||
FALSE,
|
||||
maximum_timers,
|
||||
sizeof( Timer_Control ),
|
||||
FALSE,
|
||||
RTEMS_MAXIMUM_NAME_LENGTH,
|
||||
FALSE
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user