RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Functions
tx-support.c File Reference

This source file contains the implementation of support functions for the validation test cases. More...

#include "tx-support.h"
#include "ts-config.h"
#include <rtems/test.h>
#include <rtems/score/percpu.h>
#include <rtems/score/smpimpl.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/threadimpl.h>
#include <rtems/rtems/semimpl.h>
#include <string.h>

Functions

rtems_id DoCreateTask (rtems_name name, rtems_task_priority priority)
 
void StartTask (rtems_id id, rtems_task_entry entry, void *arg)
 
void DeleteTask (rtems_id id)
 
void SuspendTask (rtems_id id)
 
void SuspendSelf (void)
 
void ResumeTask (rtems_id id)
 
bool IsTaskSuspended (rtems_id id)
 
rtems_event_set QueryPendingEvents (void)
 
rtems_event_set PollAnyEvents (void)
 
rtems_event_set ReceiveAnyEvents (void)
 
rtems_event_set ReceiveAnyEventsTimed (rtems_interval ticks)
 
void ReceiveAllEvents (rtems_event_set events)
 
void SendEvents (rtems_id id, rtems_event_set events)
 
rtems_mode GetMode (void)
 
rtems_mode SetMode (rtems_mode set, rtems_mode mask)
 
rtems_task_priority GetPriority (rtems_id id)
 
rtems_task_priority GetPriorityByScheduler (rtems_id task_id, rtems_id scheduler_id)
 
rtems_task_priority SetPriority (rtems_id id, rtems_task_priority priority)
 
rtems_task_priority GetSelfPriority (void)
 
rtems_task_priority SetSelfPriority (rtems_task_priority priority)
 
rtems_task_priority SetSelfPriorityNoYield (rtems_task_priority priority)
 
rtems_id GetScheduler (rtems_id id)
 
rtems_id GetSelfScheduler (void)
 
void SetScheduler (rtems_id task_id, rtems_id scheduler_id, rtems_task_priority priority)
 
void SetSelfScheduler (rtems_id scheduler_id, rtems_task_priority priority)
 
void GetAffinity (rtems_id id, cpu_set_t *set)
 
void GetSelfAffinity (cpu_set_t *set)
 
void SetAffinity (rtems_id id, const cpu_set_t *set)
 
void SetSelfAffinity (const cpu_set_t *set)
 
void SetAffinityOne (rtems_id id, uint32_t cpu_index)
 
void SetSelfAffinityOne (uint32_t cpu_index)
 
void SetAffinityAll (rtems_id id)
 
void SetSelfAffinityAll (void)
 
void Yield (void)
 
void YieldTask (rtems_id id)
 
void AddProcessor (rtems_id scheduler_id, uint32_t cpu_index)
 
void RemoveProcessor (rtems_id scheduler_id, uint32_t cpu_index)
 
rtems_id CreateMutex (void)
 
rtems_id CreateMutexNoProtocol (void)
 
rtems_id CreateMutexFIFO (void)
 
void DeleteMutex (rtems_id id)
 
bool IsMutexOwner (rtems_id id)
 
void ObtainMutex (rtems_id id)
 
void ObtainMutexTimed (rtems_id id, rtems_interval ticks)
 
void ObtainMutexDeadlock (rtems_id id)
 
void ReleaseMutex (rtems_id id)
 
Thread_queue_QueueGetMutexThreadQueue (rtems_id id)
 
void RestoreRunnerASR (void)
 
void RestoreRunnerMode (void)
 
void RestoreRunnerPriority (void)
 
void RestoreRunnerScheduler (void)
 
Thread_ControlGetThread (rtems_id id)
 
Thread_ControlGetExecuting (void)
 
void KillZombies (void)
 
void WaitForExecutionStop (rtems_id task_id)
 
void WaitForIntendToBlock (rtems_id task_id)
 
void WaitForHeir (uint32_t cpu_index, rtems_id task_id)
 
void WaitForNextTask (uint32_t cpu_index, rtems_id task_id)
 
void GetTaskTimerInfo (rtems_id id, TaskTimerInfo *info)
 
void GetTaskTimerInfoByThread (struct _Thread_Control *thread, TaskTimerInfo *info)
 
void ClockTick (void)
 
void FinalClockTick (void)
 Simulates a clock tick with the final expire time point of UINT64_MAX for all clocks.
 
void FatalInitialExtension (rtems_fatal_source source, bool always_set_to_false, rtems_fatal_code code)
 
void SetFatalHandler (FatalHandler fatal, void *arg)
 
void SetTaskSwitchExtension (rtems_task_switch_extension task_switch)
 
void ClearExtensionCalls (ExtensionCalls *calls)
 
void CopyExtensionCalls (const ExtensionCalls *from, ExtensionCalls *to)
 
void StartDelayThreadDispatch (uint32_t cpu_index)
 
void StopDelayThreadDispatch (uint32_t cpu_index)
 
bool AreInterruptsEnabled (void)
 
bool IsWhiteSpaceOnly (const char *s)
 
bool IsEqualIgnoreWhiteSpace (const char *a, const char *b)
 

Detailed Description

This source file contains the implementation of support functions for the validation test cases.