diff options
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/Kernel/SystemKit/TeamScheduler.h | 20 | ||||
| -rw-r--r-- | dev/LibSCI/SCI.h | 13 |
2 files changed, 13 insertions, 20 deletions
diff --git a/dev/Kernel/SystemKit/TeamScheduler.h b/dev/Kernel/SystemKit/TeamScheduler.h deleted file mode 100644 index 92d3b5d6..00000000 --- a/dev/Kernel/SystemKit/TeamScheduler.h +++ /dev/null @@ -1,20 +0,0 @@ - -/* ------------------------------------------- - - Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved. - -------------------------------------------- */ - -#pragma once - -#include <NewKit/Defines.h> - -/// @file TeamScheduler.h -/// @brief This file takes care of creating processes/threads from a subsystem context. - -namespace Kernel -{ - class UserSubsystem; - class UserEnvVar; - class UserEnv; -} // namespace Kernel
\ No newline at end of file diff --git a/dev/LibSCI/SCI.h b/dev/LibSCI/SCI.h index 0fca4913..433a6d28 100644 --- a/dev/LibSCI/SCI.h +++ b/dev/LibSCI/SCI.h @@ -290,4 +290,17 @@ IMPORT_C SInt32 ConRelease(IOObject); IMPORT_C IOObject ConGet(const Char* path);
+// ------------------------------------------------------------------------------------------ //
+// Scheduler Interrupts API.
+// ------------------------------------------------------------------------------------------ //
+
+typedef SInt32 AffinityKind;
+typedef UInt64 PID;
+
+IMPORT_C SInt32 SchedAffinity(PID, SInt32 req, AffinityKind* local);
+
+IMPORT_C SInt32 SchedTrace(PID, SInt32 req, VoidPtr address, VoidPtr data);
+
+IMPORT_C SInt32 SchedKill(PID, SInt32 req);
+
#endif // ifndef SCIKIT_FOUNDATION_H
|
