diff options
| author | Amlal <amlal.elmahrouss@icloud.com> | 2025-01-25 08:52:37 +0100 |
|---|---|---|
| committer | Amlal <amlal.elmahrouss@icloud.com> | 2025-01-25 08:52:37 +0100 |
| commit | 85549734440767cda6e7fb0d6984437b3948bcbe (patch) | |
| tree | 42288c14c83809ae544fdf6c829734cf1221222d /dev/LibSCI | |
| parent | 4fb262ba77b03886e980eb007e75fad016c25ba1 (diff) | |
ADD: Scheduler Interrupt API.
REMOVE: TeamScheduler.h
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibSCI')
| -rw-r--r-- | dev/LibSCI/SCI.h | 13 |
1 files changed, 13 insertions, 0 deletions
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
|
