20 #ifndef _RTEMS_RTEMS_TIMER_INL 21 #define _RTEMS_RTEMS_TIMER_INL 130 return ( the_class & mask ) == mask;
Watchdog_Service_routine(* Watchdog_Service_routine_entry)(Watchdog_Control *)
Pointer to a watchdog service routine.
#define TIMER_CLASS_BIT_ON_TASK
%
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
#define TIMER_CLASS_BIT_TIME_OF_DAY
%
static __inline__ void _Timer_Free(Timer_Control *the_timer)
Timer_Free.
Inlined Routines in the Watchdog Handler.
uint64_t ticks
Protects all watchdog operations on this processor.
Objects_Information _Timer_Information
The Classic Timer objects information.
The control block used to manage each watchdog timer.
#define _ISR_lock_ISR_enable(_context)
Restores the saved interrupt state of the ISR lock context.
#define TIMER_CLASS_BIT_NOT_DORMANT
%
Objects_Control * _Objects_Allocate(Objects_Information *information)
Allocates an object.
static __inline__ Timer_Control * _Timer_Allocate(void)
Timer_Allocate.
Per_CPU_Watchdog_index
Per-CPU watchdog header index.
Inlined Routines in the Object Handler.
This type is used to represent the calendar time in the Classic API.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
#define ISR_LOCK_MEMBER(_designator)
Defines an ISR lock member.
static __inline__ Per_CPU_Control * _Watchdog_Get_CPU(const Watchdog_Control *the_watchdog)
Gets the watchdog's cpu.
Timer_server_Control *volatile _Timer_server
Pointer to default timer server control block.
struct Per_CPU_Control::@13 Watchdog
Watchdog state for this processor.
static __inline__ void _Watchdog_Per_CPU_release_critical(Per_CPU_Control *cpu, ISR_lock_Context *lock_context)
Releases the per cpu watchdog lock in a critical section.
#define _ISR_lock_Acquire(_lock, _context)
Acquires an ISR lock inside an ISR disabled section.
static __inline__ void _Watchdog_Per_CPU_acquire_critical(Per_CPU_Control *cpu, ISR_lock_Context *lock_context)
Acquires the per cpu watchdog lock in a critical section.
#define _ISR_lock_Release(_lock, _context)
Releases an ISR lock inside an ISR disabled section.
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
Classic Partition Manager Data Structures.
Objects_Control * _Objects_Get(Objects_Id id, ISR_lock_Context *lock_context, const Objects_Information *information)
Maps the specified object identifier to the associated local object control block.
Local ISR lock context for acquire and release pairs.
#define RTEMS_INLINE_ROUTINE
Gives a hint to the compiler in a function declaration to inline this function.
rtems_timer_service_routine(* rtems_timer_service_routine_entry)(rtems_id, void *)
%
Constants and Structures Related with the Thread Control Block.
static __inline__ void _Objects_Free(Objects_Information *information, Objects_Control *the_object)
Frees an object.