Changeset 135 for trunk/hal/x86_64/drivers
- Timestamp:
- Jul 3, 2017, 5:21:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/soclib_xcu.c
r129 r135 27 27 #include <chdev.h> 28 28 29 #include <hal_apic.h> 29 30 #include <hal_internal.h> 30 31 31 void soclib_xcu_init( chdev_t * icu, 32 lid_t lid ) 32 extern size_t ioapic_pins; 33 34 void soclib_xcu_init(chdev_t *icu, lid_t lid) 33 35 { 36 size_t i; 37 38 /* disable all IRQs */ 39 for (i = 0; i < ioapic_pins; i++) { 40 hal_ioapic_set_entry(i, IOENTRY_DISABLE); 41 } 42 34 43 x86_panic((char *)__func__); 35 44 }
Note: See TracChangeset
for help on using the changeset viewer.