MCPcopy Create free account
hub / github.com/Ruddle/Fomos / ioapic_handler_2

Function ioapic_handler_2

bootloader/kernel/src/interrupts.rs:290–303  ·  view source on GitHub ↗
(stack_frame: InterruptStackFrame)

Source from the content-addressed store, hash-verified

288 };
289}
290extern "x86-interrupt" fn ioapic_handler_2(stack_frame: InterruptStackFrame) {
291 // log::info!("______ioapic_handler_2_____");
292
293 let ioa = ioapic::IO_APIC_0.get().expect("IoApic0");
294 let n = ioa.read_redtlb(2);
295 let mut red = ioapic::RedTbl::new(n);
296
297 // log::info!("{:?}", red);
298 let stored = red.store();
299 ioa.write_redtlb(2, stored);
300 unsafe {
301 crate::local_apic::LOCAL_APIC.get().unwrap().eoi();
302 };
303}
304extern "x86-interrupt" fn ioapic_handler_3(stack_frame: InterruptStackFrame) {
305 log::info!("______ioapic_handler_3_____");
306}

Callers

nothing calls this directly

Calls 4

read_redtlbMethod · 0.80
storeMethod · 0.80
write_redtlbMethod · 0.80
eoiMethod · 0.80

Tested by

no test coverage detected