Protected Mode Interrupt/Exception Handling


In Real Mode, the OS permits the processor to execute only a single, rather than multiple programs. In this case, all BIOS and disk services and interrupt service routines exist solely to support the program that is executing. This being the case, there is no need to restrict access to these services when the program executes a software interrupt instruction.

The Protected Mode environment, on the other hand, exists to support multitasking OSs. When the currently executing task attempts to access a procedure using the software interrupt instruction, the processor must check to ensure that this program is permitted to access the target procedure. If access is denied, a GP exception is generated. ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.