PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
idt_gate_t Struct Reference
Kernel » CPU » IDT

IDT gate structure. More...

#include <idt.h>

Collaboration diagram for idt_gate_t:

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 57 of file idt.h.

Field Documentation

◆ offsetLow

uint16_t idt_gate_t::offsetLow

Lower 16 bits of handler function address.

Definition at line 59 of file idt.h.

◆ codeSegment

uint16_t idt_gate_t::codeSegment

Code segment selector in the GDT.

Definition at line 60 of file idt.h.

◆ ist

uint8_t idt_gate_t::ist

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

Definition at line 61 of file idt.h.

◆ attributes

uint8_t idt_gate_t::attributes

Type and attributes, see idt_attributes_t.

Definition at line 62 of file idt.h.

◆ offsetMid

uint16_t idt_gate_t::offsetMid

Middle 16 bits of handler function address.

Definition at line 63 of file idt.h.

◆ offsetHigh

uint32_t idt_gate_t::offsetHigh

Upper 32 bits of handler function address.

Definition at line 64 of file idt.h.

◆ reserved

uint32_t idt_gate_t::reserved

Definition at line 65 of file idt.h.


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