fn initialize_interrupts() {
    // set control/status reg for enabling interrupts
    // write_reg!(SUPERVISOR_INTERRUPT_ENABLE, 1);

    // create IDT at the same frame addr
    // NOTE: 2^32 possible interrupt types, stored within scause
    // Neutron has ~20 key syscalls, page fault handling, double fault handling
    // triple faults automatically handled by resetting the system/power off -> on
    // let frames = get_frames(enough to store n_interrupts)
    // let idt = IDT::new(frames)
}
// INITIALISE INTERRUPTS (after Kernel Entry completed and userspace ready to load)
// interrupts should be disabled by bios during boot
INITIALISE INTERRUPTS (after Kernel Entry completed and userspace ready to load)
interrupts should be disabled by bios during boot
INITIALISE INTERRUPTS ( after Kernel Entry completed and userspace ready to load ) interrupts should be disabled by bios during boot
fn initialize_interrupts() {
    // set control/status reg for enabling interrupts
    // write_reg!(SUPERVISOR_INTERRUPT_ENABLE, 1);
    // create IDT at the same frame addr
    // NOTE: 2^32 possible interrupt types, stored within scause
    // Neutron has ~20 key syscalls, page fault handling, double fault handling
    // triple faults automatically handled by resetting the system/power off -> on
    // let frames = get_frames(enough to store n_interrupts)
    // let idt = IDT::new(frames)
}
fn initialize_interrupts ( ) { // set control/status reg for enabling interrupts // write_reg!(SUPERVISOR_INTERRUPT_ENABLE, 1); // create IDT at the same frame addr // NOTE: 2^32 possible interrupt types, stored within scause // Neutron has ~20 key syscalls, page fault handling, double fault handling // triple faults automatically handled by resetting the system/power off -> on // let frames = get_frames(enough to store n_interrupts) // let idt = IDT::new(frames) }
INITIALISE INTERRUPTS (after Kernel Entry completed and userspace ready to load)
interrupts should be disabled by bios during boot
INITIALISE INTERRUPTS ( after Kernel Entry completed and userspace ready to load ) interrupts should be disabled by bios during boot