Jump to content

KernInterruptLevel: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Dereferences to the linear address pointing to the interrupt level.
Dereferences to the linear address pointing to the interrupt level.


Is the equivalent of what DosHelp_GetDOSVar returns for index DHGETDOSV_INTERRUPTLEV.
Is the equivalent of what [[DevHelp_GetDOSVar]] returns for index DHGETDOSV_INTERRUPTLEV.


The _KernInterruptLevel global variable is a 4-byte value that indicates the current interrupt level of the system. The interrupt level is a number that represents the priority of the currently executing code. When the system is running at a higher interrupt level, it is less responsive to external events, such as interrupts from hardware devices or signals from other programs. The _KernInterruptLevel variable is used by the kernel and by other parts of the operating system to determine the interrupt level at which a particular piece of code is running. It is often used by programs to determine whether it is safe to perform certain actions, such as accessing shared resources or interacting with hardware devices.
The _KernInterruptLevel global variable is pointing to a 1-byte value that contains the current interrupt level if the code is currently executing in interrupt context. It contains 0xFF if the code is currently executing in task context.


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

Latest revision as of 03:21, 28 May 2025

Dereferences to the linear address pointing to the interrupt level.

Is the equivalent of what DevHelp_GetDOSVar returns for index DHGETDOSV_INTERRUPTLEV.

The _KernInterruptLevel global variable is pointing to a 1-byte value that contains the current interrupt level if the code is currently executing in interrupt context. It contains 0xFF if the code is currently executing in task context.