internal uint sys_now() { SYSTIME time = new SYSTIME(); m_Nucleus.GetSystemTime(out time); return (uint)(time.Value); }
public ER get_tim(out SYSTIME pk_tim) { ER Result = ER.E_NOEXS; if (g_Kernel == null) { pk_tim = new SYSTIME(); return ER.E_DLT; } g_Kernel.LockCPU(); try { Result = g_Kernel.Nucleus.GetSystemTime(out pk_tim); } finally { g_Kernel.UnlockCPU(); } return Result; }
public ER GetSystemTime(out SYSTIME pk_tim) { //if(pk_tim == null) // return ER.E_PAR; pk_tim = m_SysTime; return ER.E_OK; }
public ER set_tim(ref SYSTIME pk_tim) { ER Result = ER.E_NOEXS; if (g_Kernel == null) return ER.E_DLT; g_Kernel.LockCPU(); try { Result = g_Kernel.Nucleus.SetSystemTime(ref pk_tim); } finally { g_Kernel.UnlockCPU(); } return Result; }
public ER SetSystemTime(ref SYSTIME pk_tim) { //if(pk_tim == null) // return ER.E_PAR; m_SysTime = pk_tim; return ER.E_OK; }