Implement SwitchContext() and SwitchThreadStack() routines
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after -59m33s
Builds / ExectOS (amd64, release) (push) Failing after -59m36s
Builds / ExectOS (i686, release) (push) Failing after -59m36s
Builds / ExectOS (i686, debug) (push) Failing after -59m33s

This commit is contained in:
2026-05-06 22:25:39 +02:00
parent 100b58312f
commit 9761569e06
4 changed files with 318 additions and 2 deletions

View File

@@ -343,10 +343,14 @@ typedef struct _KTSS
UCHAR IntDirectionMap[IOPM_DIRECTION_MAP_SIZE];
} KTSS, *PKTSS;
/* Exception frame definition (not available on ia32) */
/* Exception frame definition (not available on i686) */
typedef struct _KEXCEPTION_FRAME
{
ULONG PlaceHolder;
ULONG Ebp;
ULONG Ebx;
ULONG Edi;
ULONG Esi;
ULONG Return;
} KEXCEPTION_FRAME, *PKEXCEPTION_FRAME;
/* Thread start frame definition */