#include <types.h>
#include <arch/x86/interrupt.h>
#include "gdt.h"
 
Go to the source code of this file.
Macro Definition Documentation
      
        
          | #define EXCEPTION_ALIGNEMENT_CHECK   17 | 
        
      
 
 
      
        
          | #define EXCEPTION_BOUNDRANGE   5 | 
        
      
 
 
      
        
          | #define EXCEPTION_BREAKPOINT   3 | 
        
      
 
 
      
        
          | #define EXCEPTION_COPSEG_OVERRUN   9 | 
        
      
 
 
      
        
          | #define EXCEPTION_DEBUG   1 | 
        
      
 
 
      
        
          | #define EXCEPTION_DIVIDE_ERROR   0 | 
        
      
 
 
      
        
          | #define EXCEPTION_DOUBLEFAULT   8 | 
        
      
 
 
      
        
          | #define EXCEPTION_FPU_FAULT   16 | 
        
      
 
 
      
        
          | #define EXCEPTION_GENERAL_PROTECTION   13 | 
        
      
 
 
      
        
          | #define EXCEPTION_INVALID_TSS   10 | 
        
      
 
 
      
        
          | #define EXCEPTION_INVALIDOPCODE   6 | 
        
      
 
 
      
        
          | #define EXCEPTION_MACHINE_CHECK   18 | 
        
      
 
 
      
        
          | #define EXCEPTION_NOMATH_COPROC   7 | 
        
      
 
 
      
        
          | #define EXCEPTION_OVERFLOW   4 | 
        
      
 
 
      
        
          | #define EXCEPTION_PAGEFAULT   14 | 
        
      
 
 
      
        
          | #define EXCEPTION_RESERVED   15 | 
        
      
 
 
      
        
          | #define EXCEPTION_SEGMENT_NOT_PRESENT   11 | 
        
      
 
 
      
        
          | #define EXCEPTION_SIMD_FAULT   19 | 
        
      
 
 
      
        
          | #define EXCEPTION_STACKSEG_FAULT   12 | 
        
      
 
 
Typedef Documentation
Enumeration Type Documentation
- Enumerator: 
 
| IDTE_TASK  | 
 | 
| IDTE_INTERRUPT  | 
 | 
| IDTE_TRAP  | 
 | 
 
Definition at line 26 of file event.h.
 
 
Function Documentation
Definition at line 31 of file event.c.
{
#if defined (POK_NEEDS_DEBUG) || defined (POK_NEEDS_ERROR_HANDLING)
#endif
}
 
 
 
Definition at line 44 of file event.c.
{
   sysdesc_t sysdesc;
   
   
   asm ("lidt %0"
        :
        : "m" (sysdesc));
}
 
 
 
Definition at line 62 of file event.c.
{
   pok_idt[index].offset_low   = (offset) & 0xFFFF;
 
   pok_idt[index].offset_high  = (offset >> 16) & 0xFFFF;
 
}