File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use hermit_sync::{InterruptSpinMutex, InterruptTicketMutex};
88pub use x86_64:: instructions:: interrupts:: { disable, enable, enable_and_hlt as enable_and_wait} ;
99use x86_64:: set_general_handler;
1010pub use x86_64:: structures:: idt:: InterruptStackFrame as ExceptionStackFrame ;
11- use x86_64:: structures:: idt:: { InterruptDescriptorTable , InterruptStackFrame } ;
11+ use x86_64:: structures:: idt:: { self , InterruptDescriptorTable } ;
1212
1313use crate :: arch:: x86_64:: kernel:: core_local:: { core_scheduler, increment_irq_counter} ;
1414use crate :: arch:: x86_64:: kernel:: { apic, processor} ;
@@ -109,10 +109,7 @@ pub(crate) fn install() {
109109}
110110
111111#[ no_mangle]
112- pub extern "C" fn irq_install_handler (
113- irq_number : u8 ,
114- handler : extern "x86-interrupt" fn ( InterruptStackFrame ) ,
115- ) {
112+ pub extern "C" fn irq_install_handler ( irq_number : u8 , handler : idt:: HandlerFunc ) {
116113 debug ! ( "Install handler for interrupt {}" , irq_number) ;
117114
118115 let mut idt = IDT . lock ( ) ;
You can’t perform that action at this time.
0 commit comments