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

Packed because the bitfields should be one uint64_t together. More...

#include <apic.h>

Public Attributes

uint64_t vector: 8
 The interrupt that will be triggered when this redirection entry is used.
 
uint64_t delivery_mode: 3
 How the interrupt will be delvied to the core(s) (see DeliveryMode)
 
uint64_t destination_mode: 1
 How to interpret the destination field (0 = means its the core ID, 1 = means a bitmask of cores)
 
uint64_t delivery_status: 1
 Indicates whether, when setting this entry, the interrupt is still being sent.
 
uint64_t pin_polarity: 1
 Defines the electrical signal that indicates an active interrupt line (0 = high active, 1 = low active) (must match the MADT override flags)
 
uint64_t remote_irr: 1
 ?
 
uint64_t trigger_mode: 1
 How the electrical signal is interpreted (0 = edge triggered, 1 = level triggered) (must match the MADT override flags)
 
uint64_t mask: 1
 Whether the interrupt is disabled or not.
 
uint64_t reserved: 39
 Reserved bits (should be zero)
 
uint64_t destination: 8
 The core(s) the interrupt should be sent to (interpreted based on destination_mode)
 

Detailed Description

Packed because the bitfields should be one uint64_t together.

Definition at line 124 of file apic.h.

Member Data Documentation

◆ delivery_mode

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::delivery_mode

How the interrupt will be delvied to the core(s) (see DeliveryMode)

Definition at line 126 of file apic.h.

◆ delivery_status

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::delivery_status

Indicates whether, when setting this entry, the interrupt is still being sent.

Definition at line 128 of file apic.h.

◆ destination

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::destination

The core(s) the interrupt should be sent to (interpreted based on destination_mode)

Definition at line 134 of file apic.h.

◆ destination_mode

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::destination_mode

How to interpret the destination field (0 = means its the core ID, 1 = means a bitmask of cores)

Definition at line 127 of file apic.h.

◆ mask

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::mask

Whether the interrupt is disabled or not.

Definition at line 132 of file apic.h.

◆ pin_polarity

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::pin_polarity

Defines the electrical signal that indicates an active interrupt line (0 = high active, 1 = low active) (must match the MADT override flags)

Definition at line 129 of file apic.h.

◆ remote_irr

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::remote_irr

?

Definition at line 130 of file apic.h.

◆ reserved

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::reserved

Reserved bits (should be zero)

Definition at line 133 of file apic.h.

◆ trigger_mode

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::trigger_mode

How the electrical signal is interpreted (0 = edge triggered, 1 = level triggered) (must match the MADT override flags)

Definition at line 131 of file apic.h.

◆ vector

uint64_t MaxOS::hardwarecommunication::RedirectionEntry::PACKED::vector

The interrupt that will be triggered when this redirection entry is used.

Definition at line 125 of file apic.h.


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