nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
idt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ecode
 x86 ISR 에서 사용되는 에러 코드를 표현하는 32 bits 자료 구조 More...
 
struct  idtr
 x86 의 IDTR 레지스터의 자료 구조 More...
 
struct  interrupt_gate
 x86 인터럽트 디스크립터에서 interrupt gate 의 자료 구조 More...
 
struct  task_gate
 x86 인터럽트 디스크립터에서 task gate 의 자료 구조 More...
 

Macros

#define HIGH16(base)   ((base) >> 16)
 
#define LOW16(base)   ((base) & 0x0000FFFF)
 

Enumerations

enum  { SIZE16 = 0, SIZE32 = 1 }
 
enum  { TASK = 0x05, INTERRUPT = 0x06, TRAP = 0x07 }
 
enum  {
  IDT_MAX_ENTRY = 0x100, IDT_MAX_BIT = 8, IDT_SEGMENT_PRESENT = 1, IDT_SEGMENT_NPRESENT = 0,
  IDT_USER = 3, IDT_KERNEL = 0
}
 

Functions

void interrupt_init (void)
 인터럽트 처리 초기화 More...
 

Variables

struct task_gate __PACKED
 

Macro Definition Documentation

#define HIGH16 (   base)    ((base) >> 16)

Definition at line 7 of file idt.h.

#define LOW16 (   base)    ((base) & 0x0000FFFF)

Definition at line 6 of file idt.h.

Enumeration Type Documentation

anonymous enum
Enumerator
SIZE16 
SIZE32 

Definition at line 9 of file idt.h.

anonymous enum
Enumerator
TASK 
INTERRUPT 
TRAP 

Definition at line 14 of file idt.h.

anonymous enum
Enumerator
IDT_MAX_ENTRY 
IDT_MAX_BIT 
IDT_SEGMENT_PRESENT 
IDT_SEGMENT_NPRESENT 
IDT_USER 
IDT_KERNEL 

Definition at line 20 of file idt.h.

Function Documentation

void interrupt_init ( void  )

Variable Documentation

struct ecode __PACKED