PatchworkOS
Loading...
Searching...
No Matches
idt_gate_t Struct Reference
Kernel » CPU » IDT

IDT gate structure. More...

#include <idt.h>

Data Fields

uint16_t offsetLow
 Lower 16 bits of handler function address.
 
uint16_t codeSegment
 Code segment selector in the GDT.
 
uint8_t ist
 Interrupt Stack Table offset, 0 = dont use IST, see tss_t.
 
uint8_t attributes
 Type and attributes, see idt_attributes_t.
 
uint16_t offsetMid
 Middle 16 bits of handler function address.
 
uint32_t offsetHigh
 Upper 32 bits of handler function address.
 
uint32_t reserved
 

Detailed Description

IDT gate structure.

Represents a single entry in the IDT.

Definition at line 53 of file idt.h.

Field Documentation

◆ attributes

uint8_t idt_gate_t::attributes

Type and attributes, see idt_attributes_t.

Definition at line 58 of file idt.h.

Referenced by idt_gate().

◆ codeSegment

uint16_t idt_gate_t::codeSegment

Code segment selector in the GDT.

Definition at line 56 of file idt.h.

Referenced by idt_gate().

◆ ist

uint8_t idt_gate_t::ist

Interrupt Stack Table offset, 0 = dont use IST, see tss_t.

Definition at line 57 of file idt.h.

Referenced by idt_gate().

◆ offsetHigh

uint32_t idt_gate_t::offsetHigh

Upper 32 bits of handler function address.

Definition at line 60 of file idt.h.

Referenced by idt_gate().

◆ offsetLow

uint16_t idt_gate_t::offsetLow

Lower 16 bits of handler function address.

Definition at line 55 of file idt.h.

Referenced by idt_gate().

◆ offsetMid

uint16_t idt_gate_t::offsetMid

Middle 16 bits of handler function address.

Definition at line 59 of file idt.h.

Referenced by idt_gate().

◆ reserved

uint32_t idt_gate_t::reserved

Definition at line 61 of file idt.h.

Referenced by idt_gate().


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