source: rtems/c/src/optman/rtems/no-timer.c @ 9eef52b

4.104.114.84.95
Last change on this file since 9eef52b was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 17, 1998 at 11:46:28 PM

updated copyright to 1998

  • Property mode set to 100644
File size: 2.4 KB
Line 
1/*
2 *  Timer Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989-1998.
6 *  On-Line Applications Research Corporation (OAR).
7 *  Copyright assigned to U.S. Government, 1994.
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#include <rtems/system.h>
17#include <rtems/rtems/status.h>
18#include <rtems/score/object.h>
19#include <rtems/score/thread.h>
20#include <rtems/score/tod.h>
21#include <rtems/score/watchdog.h>
22#include <rtems/score/interr.h>
23
24#include <rtems/rtems/types.h>
25#include <rtems/rtems/timer.h>
26
27void _Timer_Manager_initialization(
28  unsigned32 maximum_timers
29)
30{
31}
32
33rtems_status_code rtems_timer_create(
34  rtems_name    name,
35  Objects_Id   *id
36)
37{
38  _Internal_error_Occurred(
39    INTERNAL_ERROR_RTEMS_API,
40    FALSE,
41    RTEMS_NOT_CONFIGURED
42  );
43  return RTEMS_NOT_CONFIGURED;
44}
45
46rtems_status_code rtems_timer_ident(
47  rtems_name    name,
48  Objects_Id   *id
49)
50{
51  _Internal_error_Occurred(
52    INTERNAL_ERROR_RTEMS_API,
53    FALSE,
54    RTEMS_NOT_CONFIGURED
55  );
56  return RTEMS_NOT_CONFIGURED;
57}
58
59rtems_status_code rtems_timer_cancel(
60  Objects_Id id
61)
62{
63  _Internal_error_Occurred(
64    INTERNAL_ERROR_RTEMS_API,
65    FALSE,
66    RTEMS_NOT_CONFIGURED
67  );
68  return RTEMS_NOT_CONFIGURED;
69}
70
71rtems_status_code rtems_timer_delete(
72  Objects_Id id
73)
74{
75  _Internal_error_Occurred(
76    INTERNAL_ERROR_RTEMS_API,
77    FALSE,
78    RTEMS_NOT_CONFIGURED
79  );
80  return RTEMS_NOT_CONFIGURED;
81}
82
83rtems_status_code rtems_timer_fire_after(
84  Objects_Id                         id,
85  rtems_interval                     ticks,
86  rtems_timer_service_routine_entry  routine,
87  void                              *user_data
88)
89{
90  _Internal_error_Occurred(
91    INTERNAL_ERROR_RTEMS_API,
92    FALSE,
93    RTEMS_NOT_CONFIGURED
94  );
95  return RTEMS_NOT_CONFIGURED;
96}
97
98rtems_status_code rtems_timer_fire_when(
99  Objects_Id                         id,
100  rtems_time_of_day                 *wall_time,
101  rtems_timer_service_routine_entry  routine,
102  void                              *user_data
103)
104{
105  _Internal_error_Occurred(
106    INTERNAL_ERROR_RTEMS_API,
107    FALSE,
108    RTEMS_NOT_CONFIGURED
109  );
110  return RTEMS_NOT_CONFIGURED;
111}
112
113rtems_status_code rtems_timer_reset(
114  Objects_Id id
115)
116{
117  _Internal_error_Occurred(
118    INTERNAL_ERROR_RTEMS_API,
119    FALSE,
120    RTEMS_NOT_CONFIGURED
121  );
122  return RTEMS_NOT_CONFIGURED;
123}
Note: See TracBrowser for help on using the repository browser.