MOS Source Code
Loading...
Searching...
No Matches
gdt_entry_t Struct Reference

#include <descriptors.h>

Public Attributes

u32 limit_low: 16
 
u32 base_low: 24
 
u32 accessed: 1
 
u32 read_write: 1
 
u32 conforming_expand_down: 1
 
u32 executable: 1
 
u32 code_data_segment: 1
 
u32 dpl: 2
 
u32 present: 1
 
u32 limit_high: 4
 
u32 available: 1
 
u32 long_mode_code: 1
 
u32 pm32_segment: 1
 
u32 granularity: 1
 
u32 base_high: 8
 
u32 base_veryhigh
 
u32 reserved
 

Detailed Description

Definition at line 25 of file descriptors.h.

Member Data Documentation

◆ limit_low

u32 limit_low

Definition at line 27 of file descriptors.h.

Referenced by gdt_set_entry().

◆ base_low

u32 base_low

Definition at line 28 of file descriptors.h.

Referenced by gdt_set_entry().

◆ accessed

u32 accessed

Definition at line 29 of file descriptors.h.

Referenced by gdt_set_entry(), and x86_init_percpu_gdt().

◆ read_write

u32 read_write

Definition at line 30 of file descriptors.h.

Referenced by gdt_set_entry(), and x86_init_percpu_gdt().

◆ conforming_expand_down

u32 conforming_expand_down

Definition at line 31 of file descriptors.h.

Referenced by gdt_set_entry().

◆ executable

u32 executable

Definition at line 32 of file descriptors.h.

Referenced by gdt_set_entry(), and x86_init_percpu_gdt().

◆ code_data_segment

u32 code_data_segment

Definition at line 33 of file descriptors.h.

Referenced by gdt_set_entry(), and x86_init_percpu_gdt().

◆ dpl

u32 dpl

Definition at line 34 of file descriptors.h.

Referenced by gdt_set_entry().

◆ present

u32 present

Definition at line 35 of file descriptors.h.

Referenced by gdt_set_entry().

◆ limit_high

u32 limit_high

Definition at line 36 of file descriptors.h.

Referenced by gdt_set_entry().

◆ available

u32 available

Definition at line 37 of file descriptors.h.

Referenced by gdt_set_entry(), and x86_init_percpu_gdt().

◆ long_mode_code

u32 long_mode_code

Definition at line 38 of file descriptors.h.

Referenced by gdt_set_entry().

◆ pm32_segment

u32 pm32_segment

Definition at line 39 of file descriptors.h.

Referenced by gdt_set_entry().

◆ granularity

u32 granularity

Definition at line 40 of file descriptors.h.

Referenced by gdt_set_entry().

◆ base_high

u32 base_high

Definition at line 41 of file descriptors.h.

Referenced by gdt_set_entry().

◆ base_veryhigh

u32 base_veryhigh

Definition at line 42 of file descriptors.h.

Referenced by gdt_set_entry().

◆ reserved

u32 reserved

Definition at line 43 of file descriptors.h.


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