next up previous contents index
Next: 10.3.11 paging.h: Page translation Up: (X86) Generic Low-level Definitions Previous: 10.3.9 gate_init.h: Gate descriptor

10.3.10 trap.h: Processor trap vectors

   

SYNOPSIS

#include <oskit/x86/trap.h>

DESCRIPTION

XXX

This contains the definitions for the trap numbers returned by the processor when something goes `wrong'. These can be used to determine the cause of the trap.

T_DIVIDE_ERROR
T_DEBUG
T_NMI
non-maskable interrupt
T_INT3
T_OVERFLOW
overflow test
T_OUT_OF_BOUNDS
bounds check
T_INVALID_OPCODE
T_NO_FPU
T_DOUBLE_FAULT
T_FPU_FAULT
T_INVALID_TSS
T_SEGMENT_NOT_PRESENT
T_STACK_FAULT
T_GENERAL_PROTECTION
T_PAGE_FAULT
T_PF_PROT: protection violation; T_PF_WRITE: write access; T_PF_USER: from user state
T_FLOATING_POINT_ERROR
T_ALIGNMENT_CHECK
T_MACHINE_CHECK

This header file is taken from CMU's Mach kernel.



University of Utah Flux Research Group