PatchworkOS  c9fea19
A non-POSIX operating system.
Loading...
Searching...
No Matches
gdt_desc_t Struct Reference
Kernel » CPU » GDT

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 96 of file gdt.h.

Field Documentation

◆ size

uint16_t gdt_desc_t::size

Size of the GDT - 1.

Definition at line 98 of file gdt.h.

◆ offset

uint64_t gdt_desc_t::offset

Address of the GDT.

Definition at line 99 of file gdt.h.


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