From 85549734440767cda6e7fb0d6984437b3948bcbe Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 25 Jan 2025 08:52:37 +0100 Subject: ADD: Scheduler Interrupt API. REMOVE: TeamScheduler.h Signed-off-by: Amlal --- dev/LibSCI/SCI.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'dev/LibSCI') 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 -- cgit v1.2.3