OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [rtems/] [optman/] [no-timer.c] - Blame information for rev 484

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.