Implement clock interrupt handling and time increment configuration
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in -59m27s
Builds / ExectOS (amd64, debug) (push) Successful in -59m25s
Builds / ExectOS (i686, release) (push) Successful in -59m28s
Builds / ExectOS (i686, debug) (push) Successful in -59m25s

This commit is contained in:
2026-05-06 19:32:00 +02:00
parent f7554e0e24
commit a3178e94bd
3 changed files with 104 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ namespace KE
{
private:
STATIC LARGE_INTEGER BootTime;
STATIC ULONG MaximumIncrement;
STATIC ULONG MinimumIncrement;
STATIC LONG TickOffset;
STATIC ULONG TimeAdjustment;
public:
STATIC XTAPI VOID GetSystemTime(OUT PLARGE_INTEGER SystemTime);
@@ -26,6 +30,11 @@ namespace KE
OUT PLARGE_INTEGER OldTime,
IN BOOLEAN AdjustInterruptTime,
IN BOOLEAN WriteToRtc);
STATIC XTAPI VOID SetTimeIncrement(IN ULONG MinIncrement,
IN ULONG MaxIncrement);
STATIC XTFASTCALL VOID UpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
IN ULONG Increment,
IN KRUNLEVEL RunLevel);
};
}