Changeset 31 for trunk/hal/x86_64/hal_init.c
- Timestamp:
- Jun 21, 2017, 8:53:24 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_init.c
r29 r31 168 168 idt = (struct idt_seg *)&idtstore; 169 169 for (i = 0; i < NCPUIDT; i++) { 170 idt_set_seg(&idt[i], x86_traps[i], 0, SDT_SYS386IGT,170 idt_set_seg(&idt[i], (void *)x86_traps[i], 0, SDT_SYS386IGT, 171 171 SEL_KPL, GDT_FIXED_SEL(GDT_KCODE_SEL, SEL_KPL)); 172 172 }
Note: See TracChangeset
for help on using the changeset viewer.