Clean up after migration to C++
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 27s
Builds / ExectOS (amd64, debug) (push) Successful in 29s
Builds / ExectOS (i686, release) (push) Successful in 29s
Builds / ExectOS (i686, debug) (push) Successful in 30s

This commit is contained in:
2025-09-16 14:20:20 +02:00
parent f86b63f68d
commit 307ec1794c
18 changed files with 80 additions and 513 deletions

View File

@@ -30,7 +30,7 @@ KE::Timer::CancelTimer(IN PKTIMER Timer)
Result = FALSE;
/* Raise run level and acquire dispatcher lock */
RunLevel = KeRaiseRunLevel(SYNC_LEVEL);
RunLevel = KE::RunLevel::RaiseRunLevel(SYNC_LEVEL);
SpinLock::AcquireQueuedSpinLock(DispatcherLock);
/* Check timer status */
@@ -113,8 +113,8 @@ KE::Timer::InitializeTimer(OUT PKTIMER Timer,
Timer->Period = 0;
/* Initialize linked lists */
RtlInitializeListHead(&Timer->Header.WaitListHead);
RtlInitializeListHead(&Timer->TimerListEntry);
RTL::LinkedList::InitializeListHead(&Timer->Header.WaitListHead);
RTL::LinkedList::InitializeListHead(&Timer->TimerListEntry);
}
/**
@@ -138,7 +138,7 @@ KE::Timer::QueryTimer(IN PKTIMER Timer)
DueTime = 0;
/* Raise run level and acquire dispatcher lock */
RunLevel = KeRaiseRunLevel(SYNC_LEVEL);
RunLevel = KE::RunLevel::RaiseRunLevel(SYNC_LEVEL);
SpinLock::AcquireQueuedSpinLock(DispatcherLock);
/* Check timer status */
@@ -201,5 +201,5 @@ KE::Timer::RemoveTimer(IN OUT PKTIMER Timer)
{
/* Remove the timer from the list */
Timer->Header.Inserted = FALSE;
RtlRemoveEntryList(&Timer->TimerListEntry);
RTL::LinkedList::RemoveEntryList(&Timer->TimerListEntry);
}