Changeset 138 for trunk/hal/x86_64/core/hal_init.c
- Timestamp:
- Jul 4, 2017, 12:05:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_init.c
r137 r138 95 95 dev->channels = 1; 96 96 97 #if NOTYET 97 98 /* 98 99 * Give 20% of the pins to HWI, 80% to WTI. … … 100 101 dev->param0 = (ioapic_pins * 20) / 100; /* hwi_nr */ 101 102 dev->param1 = ioapic_pins - dev->param0; /* wti_nr */ 103 #else 104 dev->param0 = 1; /* hwi_nr */ 105 dev->param1 = 1; /* wti_nr */ 106 #endif 102 107 103 108 /* … … 421 426 } 422 427 423 /* LAPICinterrupts */424 for (i = LAPICVEC_MIN; i < LAPICVEC_MAX; i++) {425 idt_set_seg(&idt[i], (void *)x86_intrs[i - LAPICVEC_MIN], 0,428 /* Dynamically configured interrupts */ 429 for (i = DYNVEC_MIN; i < DYNVEC_MAX; i++) { 430 idt_set_seg(&idt[i], (void *)x86_intrs[i - DYNVEC_MIN], 0, 426 431 SDT_SYS386IGT, SEL_KPL, GDT_FIXED_SEL(GDT_KCODE_SEL, SEL_KPL)); 427 432 }
Note: See TracChangeset
for help on using the changeset viewer.