Files
exectos/xtoskrnl/includes/hl/rtc.hh
Aiken Harris 2dd1fdf869
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
Implement RTC support
2026-04-24 09:52:07 +02:00

27 lines
608 B
C++

/**
* 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 */