/* ------------------------------------------- Copyright Zeta Electronics Corporation ------------------------------------------- */ #include // bugs = 0 namespace NewOS { /// @brief wakes up thread. /// wakes up thread from hang. void rt_wakeup_thread(HAL::StackFrame* stack) { HAL::rt_cli(); HAL::rt_sti(); } /// @brief makes thread sleep. /// hooks and hangs thread to prevent code from executing. void rt_hang_thread(HAL::StackFrame* stack) { HAL::rt_cli(); HAL::rt_sti(); } } // namespace NewOS