Jump to content

KernInterruptLevel

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

Dereferences to the linear address pointing to the interrupt level.

Is the equivalent of what DosHelp_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.