Jump to content

KernTKSSBase

From EDM2
Revision as of 21:46, 28 December 2022 by Martini (talk | contribs)

Dereferences to the linear base address of the kernel stack. Returns the same value as function export MVDM.2 from MVDM.LIB.

The _KernTKSSBase global variable is a pointer to the base address of the kernel's Task State Segment (TSS). The TSS is a data structure used by the OS/2 kernel to store information about a task, such as the task's stack, interrupt flag, and other important data. The _KernTKSSBase variable is a 4-byte value that is stored in memory and is used by the kernel and by other parts of the operating system to access the TSS for a particular task. It is often used by programs to access information about the current task or to switch between tasks.