NetcanOS
Netcan OS is an operation system for x86 PCs, for learning how os works.
Public 属性 | 所有成员列表
gdt_entry_struct结构体 参考

GDT表结构。 1st flags: (present) (privilege) (descriptor type) type flags: (code) (conforming) (readable) (accessed) 2nd flags: (granularity) (32-bit default) (64-bit seg) (AVL) 更多...

#include <descriptor_tables.h>

Public 属性

u16 limit_low
 segment limit(0:15) 更多...
 
u16 base_low
 base address(0:15) 更多...
 
u8 base_middle
 base address(16:23) 更多...
 
u8 access
 1st flags和type flags 更多...
 
u8 granularity
 2nd flags和segment limit(16:19) 更多...
 
u8 base_high
 base address(24:31) 更多...
 

详细描述

GDT表结构。 1st flags: (present) (privilege) (descriptor type) type flags: (code) (conforming) (readable) (accessed) 2nd flags: (granularity) (32-bit default) (64-bit seg) (AVL)

类成员变量说明

◆ access

u8 gdt_entry_struct::access

1st flags和type flags

◆ base_high

u8 gdt_entry_struct::base_high

base address(24:31)

◆ base_low

u16 gdt_entry_struct::base_low

base address(0:15)

◆ base_middle

u8 gdt_entry_struct::base_middle

base address(16:23)

◆ granularity

u8 gdt_entry_struct::granularity

2nd flags和segment limit(16:19)

◆ limit_low

u16 gdt_entry_struct::limit_low

segment limit(0:15)


该结构体的文档由以下文件生成: