38 #define _________________________________________INTERFACE_FUNCTIONS_SECTION________________________________________________________________ 42 return oC_ProcessMan_GetCurrentAllocator();
47 return oC_ProcessMan_GetCurrentProcess();
52 return oC_Process_GetUser(oC_ProcessMan_GetCurrentProcess());
57 bool iscurroot = getcuruser() == getrootuser();
59 if(iscurroot ==
false)
67 oC_Timestamp_t gettimestamp(
void)
69 return oC_KTime_GetTimestamp();
73 oC_Time_t gettimeout( oC_Timestamp_t Timestamp )
75 return oC_KTime_CalculateTimeout(Timestamp);
78 oC_Timestamp_t timeouttotimestamp( oC_Time_t Timeout )
80 return oC_KTime_GetTimestamp() + Timeout;
85 return oC_UserMan_GetRootUser();
90 return oC_ThreadMan_GetCurrentThread();
93 bool sleep( oC_Time_t Time )
96 oC_Thread_t currentThread = oC_ThreadMan_GetCurrentThread();
98 if(oC_Thread_IsCorrect(currentThread))
100 slept = oC_Thread_Sleep(currentThread,Time);
110 #undef _________________________________________INTERFACE_FUNCTIONS_SECTION________________________________________________________________
oC_SYS_LLD_Context_t * oC_SYS_LLD_GetSystemContext(void)
returns pointer to the system context
identifier for allocations
oC_SYS_LLD_Context_t * oC_SYS_LLD_GetCurrentContext(void)
returns pointer to the current context
The file with interface for process manager.
File with interface for user system manager.
The file with LLD interface for the CLOCK driver.
The file with LLD interface for the SYS driver.
The file with interface for Thread Manager.
bool oC_CLOCK_LLD_DelayForMicroseconds(oC_UInt_t Microseconds)
perform a delay for us