Wire thread startup frame to return to user-mode switch or system thread exit handler
Some checks failed
Builds / ExectOS (amd64, debug) (push) Successful in 25s
Builds / ExectOS (i686, debug) (push) Failing after 28s
Builds / ExectOS (amd64, release) (push) Successful in 39s
Builds / ExectOS (i686, release) (push) Failing after 36s

This commit is contained in:
2026-06-14 01:34:24 +02:00
parent e035666f7a
commit 89681897d7
4 changed files with 40 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ namespace KE
STATIC XTAPI VOID StartThread(IN PKTHREAD Thread);
private:
STATIC XTAPI VOID HandleSystemThreadExit(VOID);
STATIC XTAPI VOID InitializeThreadContext(IN PKTHREAD Thread,
IN PKSYSTEM_ROUTINE SystemRoutine,
IN PKSTART_ROUTINE StartRoutine,
@@ -53,6 +54,7 @@ namespace KE
STATIC XTAPI VOID SuspendThread(IN PVOID NormalContext,
IN PVOID SystemArgument1,
IN PVOID SystemArgument2);
STATIC XTAPI VOID SwitchToUserMode(VOID);
};
}