diff options
Diffstat (limited to 'c/src/exec/rtems/optman/no-rtmon.c')
-rw-r--r-- | c/src/exec/rtems/optman/no-rtmon.c | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/c/src/exec/rtems/optman/no-rtmon.c b/c/src/exec/rtems/optman/no-rtmon.c new file mode 100644 index 0000000000..01f539524b --- /dev/null +++ b/c/src/exec/rtems/optman/no-rtmon.c @@ -0,0 +1,117 @@ +/* + * Rate Monotonic 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/isr.h> +#include <rtems/score/object.h> +#include <rtems/score/thread.h> +#include <rtems/score/interr.h> + +#include <rtems/rtems/types.h> +#include <rtems/rtems/ratemon.h> + +void _Rate_monotonic_Manager_initialization( + unsigned32 maximum_periods +) +{ +} + +rtems_status_code rtems_rate_monotonic_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_rate_monotonic_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_rate_monotonic_cancel( + Objects_Id id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_rate_monotonic_delete( + Objects_Id id +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +rtems_status_code rtems_rate_monotonic_period( + Objects_Id id, + rtems_interval length +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return RTEMS_NOT_CONFIGURED; +} + +void _Rate_monotonic_Timeout( + Objects_Id id, + void *ignored +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); +} + +boolean _Rate_monotonic_Set_state( +Rate_monotonic_Control *the_period +) +{ + _Internal_error_Occurred( + INTERNAL_ERROR_RTEMS_API, + FALSE, + RTEMS_NOT_CONFIGURED + ); + return FALSE; +} |