Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::hardwarecommunication::InterruptRedirect Struct Reference

Defines how an interrupt input is redirected to a specific processor via the I/O APIC. More...

#include <apic.h>

Public Attributes

uint8_t type
 The type of redirect (should be 0 for normal interrupts)
 
uint8_t index
 Where in the IO APIC redirection table this redirect should be placed.
 
uint8_t interrupt
 The interrupt number to trigger when this redirect is used.
 
uint8_t destination
 The ID of the core the interrupt should be sent to.
 
uint32_t flags
 Configuration flags for the interrupt (see MADT override flags)
 
bool mask
 Should the interrupt be disabled initially.
 

Detailed Description

Defines how an interrupt input is redirected to a specific processor via the I/O APIC.

Definition at line 174 of file apic.h.

Member Data Documentation

◆ destination

uint8_t MaxOS::hardwarecommunication::InterruptRedirect::destination

The ID of the core the interrupt should be sent to.

Definition at line 179 of file apic.h.

Referenced by MaxOS::hardwarecommunication::IOAPIC::set_redirect().

◆ flags

uint32_t MaxOS::hardwarecommunication::InterruptRedirect::flags

Configuration flags for the interrupt (see MADT override flags)

Definition at line 180 of file apic.h.

Referenced by MaxOS::hardwarecommunication::IOAPIC::set_redirect().

◆ index

uint8_t MaxOS::hardwarecommunication::InterruptRedirect::index

Where in the IO APIC redirection table this redirect should be placed.

Definition at line 177 of file apic.h.

Referenced by MaxOS::hardwarecommunication::IOAPIC::set_redirect().

◆ interrupt

uint8_t MaxOS::hardwarecommunication::InterruptRedirect::interrupt

The interrupt number to trigger when this redirect is used.

Definition at line 178 of file apic.h.

Referenced by MaxOS::hardwarecommunication::IOAPIC::set_redirect().

◆ mask

bool MaxOS::hardwarecommunication::InterruptRedirect::mask

Should the interrupt be disabled initially.

Definition at line 181 of file apic.h.

Referenced by MaxOS::hardwarecommunication::IOAPIC::set_redirect().

◆ type

uint8_t MaxOS::hardwarecommunication::InterruptRedirect::type

The type of redirect (should be 0 for normal interrupts)

Definition at line 176 of file apic.h.

Referenced by MaxOS::hardwarecommunication::InterruptHandler::InterruptHandler(), and MaxOS::hardwarecommunication::IOAPIC::set_redirect().


The documentation for this struct was generated from the following file: