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

An entry in the Interrupt Descriptor Table (IDT) More...

#include <interrupts.h>

Public Attributes

uint16_t address_low_bits
 The low bits of the handler function address.
 
uint16_t segment_selector
 The code segment selector in the GDT to use when this interrupt fires.
 
uint8_t ist
 The offset into the Interrupt Stack Table (0 if not used) (see TSS)
 
uint8_t flags
 Flags: The type of gate this entry represents (0xE for interrupt gate, 0xF for trap gate), The privilege level required to invoke this interrupt and whether the interrupt is present (.
 
uint16_t address_mid_bits
 The middle bits of the handler function address.
 
uint32_t address_high_bits
 The high bits of the handler function address.
 
uint32_t reserved
 Reserved, must be zero.
 

Detailed Description

An entry in the Interrupt Descriptor Table (IDT)

Definition at line 157 of file interrupts.h.

Member Data Documentation

◆ address_high_bits

uint32_t MaxOS::hardwarecommunication::InterruptDescriptor::address_high_bits

The high bits of the handler function address.

Definition at line 164 of file interrupts.h.

Referenced by MaxOS::hardwarecommunication::InterruptManager::set_interrupt_descriptor_table_entry().

◆ address_low_bits

uint16_t MaxOS::hardwarecommunication::InterruptDescriptor::address_low_bits

The low bits of the handler function address.

Definition at line 159 of file interrupts.h.

Referenced by MaxOS::hardwarecommunication::InterruptManager::set_interrupt_descriptor_table_entry().

◆ address_mid_bits

uint16_t MaxOS::hardwarecommunication::InterruptDescriptor::address_mid_bits

The middle bits of the handler function address.

Definition at line 163 of file interrupts.h.

Referenced by MaxOS::hardwarecommunication::InterruptManager::set_interrupt_descriptor_table_entry().

◆ flags

uint8_t MaxOS::hardwarecommunication::InterruptDescriptor::flags

Flags: The type of gate this entry represents (0xE for interrupt gate, 0xF for trap gate), The privilege level required to invoke this interrupt and whether the interrupt is present (.

Todo:
substruct this)

Definition at line 162 of file interrupts.h.

Referenced by MaxOS::hardwarecommunication::InterruptManager::set_interrupt_descriptor_table_entry().

◆ ist

uint8_t MaxOS::hardwarecommunication::InterruptDescriptor::ist

The offset into the Interrupt Stack Table (0 if not used) (see TSS)

Definition at line 161 of file interrupts.h.

Referenced by MaxOS::hardwarecommunication::InterruptManager::set_interrupt_descriptor_table_entry().

◆ reserved

uint32_t MaxOS::hardwarecommunication::InterruptDescriptor::reserved

Reserved, must be zero.

Definition at line 165 of file interrupts.h.

◆ segment_selector

uint16_t MaxOS::hardwarecommunication::InterruptDescriptor::segment_selector

The code segment selector in the GDT to use when this interrupt fires.

Definition at line 160 of file interrupts.h.

Referenced by MaxOS::hardwarecommunication::InterruptManager::set_interrupt_descriptor_table_entry().


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