PatchworkOS
Loading...
Searching...
No Matches
gdt_desc_t Struct Reference
Kernel » CPU » GDT

GDT descriptor structure. More...

#include <gdt.h>

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

◆ offset

uint64_t gdt_desc_t::offset

Address of the GDT.

Definition at line 99 of file gdt.h.

Referenced by gdt_cpu_load().

◆ size

uint16_t gdt_desc_t::size

Size of the GDT - 1.

Definition at line 98 of file gdt.h.

Referenced by gdt_cpu_load().


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