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 62 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 69 of file interrupts.h.

◆ address_low_bits

uint16_t MaxOS::hardwarecommunication::InterruptDescriptor::address_low_bits

The low bits of the handler function address.

Definition at line 64 of file interrupts.h.

◆ address_mid_bits

uint16_t MaxOS::hardwarecommunication::InterruptDescriptor::address_mid_bits

The middle bits of the handler function address.

Definition at line 68 of file interrupts.h.

◆ 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 67 of file interrupts.h.

◆ ist

uint8_t MaxOS::hardwarecommunication::InterruptDescriptor::ist

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

Definition at line 66 of file interrupts.h.

◆ reserved

uint32_t MaxOS::hardwarecommunication::InterruptDescriptor::reserved

Reserved, must be zero.

Definition at line 70 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 65 of file interrupts.h.


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