Clean up after migration to C++
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user