Implement RTC
Fix thread_yield() bug (didn't restore EFLAGS.IF)