Implement RTC support
Some checks failed
Builds / ExectOS (amd64, release) (push) Failing after -59m35s
Builds / ExectOS (amd64, debug) (push) Failing after -59m33s
Builds / ExectOS (i686, debug) (push) Failing after -59m33s
Builds / ExectOS (i686, release) (push) Failing after -59m35s

This commit is contained in:
2026-04-24 09:52:07 +02:00
parent b1e849a251
commit 2dd1fdf869
10 changed files with 466 additions and 8 deletions

View File

@@ -0,0 +1,26 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/hl/rtc.hh
* DESCRIPTION: Hardware Real-Time Clock (RTC) support
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_HL_RTC_HH
#define __XTOSKRNL_HL_RTC_HH
#include <xtos.hh>
/* Hardware Layer */
namespace HL
{
class Rtc
{
public:
STATIC XTAPI XTSTATUS GetRealTimeClock(OUT PTIME_FIELDS Time);
STATIC XTAPI XTSTATUS SetRealTimeClock(IN PTIME_FIELDS Time);
};
}
#endif /* __XTOSKRNL_HL_RTC_HH */