Jump to content

KernTKSSBase: Difference between revisions

From EDM2
No edit summary
Erdmann (talk | contribs)
No edit summary
 
Line 1: Line 1:
Dereferences to the linear base address of the kernel stack. Returns the same value as function export MVDM.2 from MVDM.LIB.
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.
The _KernTKSSBase global variable is a pointer to the base address of the kernel's (Ring 0) stack.


[[Category:KEE]]
[[Category:KEE]]

Latest revision as of 17:17, 24 November 2023

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 (Ring 0) stack.