diff options
Diffstat (limited to 'c/src/exec/rtems/optman/no-timer.c')
-rw-r--r-- | c/src/exec/rtems/optman/no-timer.c | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/c/src/exec/rtems/optman/no-timer.c b/c/src/exec/rtems/optman/no-timer.c new file mode 100644 index 0000000000..6a8f17e0f9 --- /dev/null +++ b/c/src/exec/rtems/optman/no-timer.c @@ -0,0 +1,123 @@ +/* + * Timer Manager + * + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may 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/score/object.h> +#include <rtems/score/thread.h> +#include <rtems/score/tod.h> +#include <rtems/score/watchdog.h> +#include <rtems/score/interr.h> + +#include <rtems/rtems/types.h> +#include <rtems/rtems/timer.h> + +void _Timer_Manager_initialization( + unsigned32 maximum_timers +) +{ +} + +rtems_status_code rtems_timer_create( + rtems_name name, + Objects_Id *id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_timer_ident( + rtems_name name, + Objects_Id *id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_timer_cancel( + Objects_Id id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_timer_delete( + Objects_Id id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_timer_fire_after( + Objects_Id id, + rtems_interval ticks, + rtems_timer_service_routine_entry routine, + void *user_data +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_timer_fire_when( + Objects_Id id, + rtems_time_of_day *wall_time, + rtems_timer_service_routine_entry routine, + void *user_data +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_timer_reset( + Objects_Id id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} |