Rev 1888 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1888 | Rev 1958 | ||
|---|---|---|---|
| Line 178... | Line 178... | ||
| 178 | 178 | ||
| 179 | d->present = 1; |
179 | d->present = 1; |
| 180 | d->type = AR_INTERRUPT; /* masking interrupt */ |
180 | d->type = AR_INTERRUPT; /* masking interrupt */ |
| 181 | 181 | ||
| 182 | idt_setoffset(d, ((uintptr_t) interrupt_handlers) + i*interrupt_handler_size); |
182 | idt_setoffset(d, ((uintptr_t) interrupt_handlers) + i*interrupt_handler_size); |
| 183 | exc_register(i, "undef", (iroutine)null_interrupt); |
- | |
| 184 | } |
183 | } |
| 185 | - | ||
| 186 | exc_register( 7, "nm_fault", nm_fault); |
- | |
| 187 | exc_register(12, "ss_fault", ss_fault); |
- | |
| 188 | exc_register(13, "gp_fault", gp_fault); |
- | |
| 189 | exc_register(14, "ident_mapper", ident_page_fault); |
- | |
| 190 | } |
184 | } |
| 191 | 185 | ||
| 192 | /** Initialize segmentation - code/data/idt tables |
186 | /** Initialize segmentation - code/data/idt tables |
| 193 | * |
187 | * |
| 194 | */ |
188 | */ |