Protected Memory and the Kernel

Since physical memory is only used when allowed by the kernel mode code of the operating system, it is also known as protected memory. In early operating systems, such as MS-DOS, it was simple for a badly coded program to overwrite a section of memory that it should not. The results could be unpredictable, but usually resulted in a system crash. By separating the operating system into user mode and kernel mode, and thus protecting memory with privileged code, user applications will not find it easy to access memory locations that they should not.

Get Microsoft® Windows® XP Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.