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

@@ -85,6 +85,21 @@ KeCancelTimer(IN PKTIMER Timer)
return KE::Timer::CancelTimer(Timer);
}
/**
* Gets the current running level of the current processor.
*
* @return This routine returns the current running level.
*
* @since XT 1.0
*/
XTCLINK
XTFASTCALL
KRUNLEVEL
KeGetCurrentRunLevel(VOID)
{
return KE::RunLevel::GetCurrentRunLevel();
}
/**
* Looks for an unacquired system resource of the specified type and returns it without acquiring an ownership.
*
@@ -291,6 +306,42 @@ KeInitializeSpinLock(IN PKSPIN_LOCK SpinLock)
KE::SpinLock::InitializeSpinLock(SpinLock);
}
/**
* Lowers the running level of the current processor.
*
* @param RunLevel
* Supplies the new running level to lower to.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTCLINK
XTFASTCALL
VOID
KeLowerRunLevel(KRUNLEVEL RunLevel)
{
KE::RunLevel::LowerRunLevel(RunLevel);
}
/**
* Raises the running level of the current processor.
*
* @param RunLevel
* Supplies the new running level to raise to.
*
* @return This routine returns the old running level.
*
* @since XT 1.0
*/
XTCLINK
XTFASTCALL
KRUNLEVEL
KeRaiseRunLevel(KRUNLEVEL RunLevel)
{
return KE::RunLevel::RaiseRunLevel(RunLevel);
}
/**
* Reads semaphore's current signal state.
*