Software processing that occurs at the level of the operating system closest to the computer, ring 0. Kernel-mode software resides in protected memory at all times and provides basic operating-system services. Kernel-mode software may activate hardware directly or interface to another software layer that drives hardware. See also user mode.