1
0
bifurqué depuis xt-sys/exectos

Refactor KE subsystem

Cette révision appartient à :
2025-09-12 13:11:15 +02:00
Parent 0647b853a6
révision 7cdfa8f79d
24 fichiers modifiés avec 195 ajouts et 306 suppressions

Voir le fichier

@@ -9,9 +9,6 @@
#include <xtos.hh>
namespace KE
{
/**
* Initializes a kernel semaphore object.
*
@@ -30,9 +27,9 @@ namespace KE
*/
XTAPI
VOID
Semaphore::InitializeSemaphore(IN PKSEMAPHORE Semaphore,
IN LONG Count,
IN LONG Limit)
KE::Semaphore::InitializeSemaphore(IN PKSEMAPHORE Semaphore,
IN LONG Count,
IN LONG Limit)
{
/* Initialize semaphore header and limit */
Semaphore->Header.Type = SemaphoreObject;
@@ -55,7 +52,7 @@ Semaphore::InitializeSemaphore(IN PKSEMAPHORE Semaphore,
*/
XTAPI
LONG
Semaphore::ReadState(IN PKSEMAPHORE Semaphore)
KE::Semaphore::ReadState(IN PKSEMAPHORE Semaphore)
{
/* Return semaphore's signal state */
return Semaphore->Header.SignalState;
@@ -82,13 +79,11 @@ Semaphore::ReadState(IN PKSEMAPHORE Semaphore)
*/
XTAPI
LONG
Semaphore::ReleaseSemaphore(IN PKSEMAPHORE Semaphore,
IN KPRIORITY Increment,
IN LONG Adjustment,
IN BOOLEAN Wait)
KE::Semaphore::ReleaseSemaphore(IN PKSEMAPHORE Semaphore,
IN KPRIORITY Increment,
IN LONG Adjustment,
IN BOOLEAN Wait)
{
UNIMPLEMENTED;
return 0;
}
} /* namespace */