#include <slibc.h>
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <stddef.h>
#include <segment.h>
#include <idt.h>
Go to the source code of this file.
| #define INSTALL_ISR |
( |
|
idt, |
|
|
|
t, |
|
|
|
ptr |
|
) |
| |
Value:do { \
(idt).type = (t); \
(idt).offset0 =
LOW16((
unsigned long)ptr); \
(idt).offset1 =
HIGH16((
unsigned long)ptr); \
} while (0)
Definition at line 10 of file idt.c.
Referenced by interrupt_init().
| #define INSTALL_USER_ISR |
( |
|
idt, |
|
|
|
t, |
|
|
|
ptr |
|
) |
| |
Value:do { \
(idt).type = (t); \
(idt).offset0 =
LOW16((
unsigned long)ptr); \
(idt).offset1 =
HIGH16((
unsigned long)ptr); \
} while (0)
Definition at line 20 of file idt.c.
Referenced by interrupt_init().
| void interrupt_init |
( |
void |
) | |
|
인터럽트 처리 초기화
Definition at line 67 of file idt.c.
References idtr::base, IDT_MAX_BIT, IDT_MAX_ENTRY, INSTALL_ISR, INSTALL_USER_ISR, INTERRUPT, isr_alignment_check(), isr_binder(), isr_bound(), isr_breakpoint(), isr_coprocessor(), isr_debug(), isr_device(), isr_div_error(), isr_double_fault(), isr_dummy(), isr_fdc(), isr_general_protection(), isr_hdc(), isr_invalid_opcode(), isr_invalid_tss(), isr_irq2(), isr_keyboard(), isr_machine_check(), isr_math_fault(), isr_nmi(), isr_overflow(), isr_page_fault(), isr_rtc(), isr_seg_not_present(), isr_simd_floating(), isr_stack_seg_fault(), isr_sw(), isr_timer(), idtr::limit, memset(), and TRAP.
Referenced by arch_init().
| void isr_alignment_check |
( |
void |
) | |
|
| void isr_breakpoint |
( |
void |
) | |
|
| void isr_coprocessor |
( |
void |
) | |
|
| void isr_div_error |
( |
void |
) | |
|
| void isr_double_fault |
( |
void |
) | |
|
| void isr_general_protection |
( |
void |
) | |
|
| void isr_invalid_opcode |
( |
void |
) | |
|
| void isr_invalid_tss |
( |
void |
) | |
|
| void isr_keyboard |
( |
void |
) | |
|
| void isr_machine_check |
( |
void |
) | |
|
| void isr_math_fault |
( |
void |
) | |
|
| void isr_overflow |
( |
void |
) | |
|
| void isr_page_fault |
( |
void |
) | |
|
| void isr_seg_not_present |
( |
void |
) | |
|
| void isr_simd_floating |
( |
void |
) | |
|
| void isr_stack_seg_fault |
( |
void |
) | |
|