PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
gdt_desc_t Struct Reference

GDT descriptor structure. More...

#include <gdt.h>

Collaboration diagram for gdt_desc_t:

Data Fields

uint16_t size
 Size of the GDT - 1.
 
uint64_t offset
 Address of the GDT.
 

Detailed Description

GDT descriptor structure.

Used to load the GDT with the lgdt instruction.

Definition at line 75 of file gdt.h.

Field Documentation

◆ size

uint16_t gdt_desc_t::size

Size of the GDT - 1.

Definition at line 77 of file gdt.h.

◆ offset

uint64_t gdt_desc_t::offset

Address of the GDT.

Definition at line 78 of file gdt.h.


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