Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
segment_descriptor Struct Reference

#include <segmentation.h>

Data Fields

union {
   uint16_t   limit_low
 
   uint16_t   reserved_task_gate_0
 
   uint16_t   offset_low
 
}; 
 
union {
   uint16_t   segment_selector
 
   uint16_t   base_low
 
}; 
 
union {
   uint8_t   base_mid
 
   uint8_t   reserved_task_gate_1
 
   struct {
      uint8_t   reserved_or_param:5
 
      uint8_t   always_0_0:3
 
   } 
 
}; 
 
union {
   struct {
      uint8_t   accessed:1
 
      uint8_t   rw:1
 
      uint8_t   cd:1
 
      uint8_t   executable:1
 
      uint8_t   descriptor_type:1
 
      uint8_t   dpl:2
 
      uint8_t   present:1
 
   } 
 
   struct {
      uint8_t   type:4
 
      uint8_t   use_other_union:4
 
   } 
 
}; 
 
union {
   uint16_t   offset_hi
 
   uint16_t   reserved_task_gate_2
 
   struct {
      uint8_t   limit_hi:4
 
      uint8_t   avl:1
 
      uint8_t   flags_l:1
 
      uint8_t   db:1
 
      uint8_t   granularity:1
 
      uint8_t   base_hi
 
   } 
 
}; 
 

Field Documentation

◆ 

union { ... } segment_descriptor::@16

◆ 

union { ... } segment_descriptor::@18

◆ 

union { ... } segment_descriptor::@20

◆ 

union { ... } segment_descriptor::@22

◆ 

union { ... } segment_descriptor::@24

◆ accessed

uint8_t segment_descriptor::accessed

◆ always_0_0

uint8_t segment_descriptor::always_0_0

◆ avl

uint8_t segment_descriptor::avl

◆ base_hi

uint8_t segment_descriptor::base_hi

◆ base_low

uint16_t segment_descriptor::base_low

◆ base_mid

uint8_t segment_descriptor::base_mid

◆ cd

uint8_t segment_descriptor::cd

◆ db

uint8_t segment_descriptor::db

◆ descriptor_type

uint8_t segment_descriptor::descriptor_type

◆ dpl

uint8_t segment_descriptor::dpl

◆ executable

uint8_t segment_descriptor::executable

◆ flags_l

uint8_t segment_descriptor::flags_l

◆ granularity

uint8_t segment_descriptor::granularity

◆ limit_hi

uint8_t segment_descriptor::limit_hi

◆ limit_low

uint16_t segment_descriptor::limit_low

◆ offset_hi

uint16_t segment_descriptor::offset_hi

◆ offset_low

uint16_t segment_descriptor::offset_low

◆ present

uint8_t segment_descriptor::present

◆ reserved_or_param

uint8_t segment_descriptor::reserved_or_param

◆ reserved_task_gate_0

uint16_t segment_descriptor::reserved_task_gate_0

◆ reserved_task_gate_1

uint8_t segment_descriptor::reserved_task_gate_1

◆ reserved_task_gate_2

uint16_t segment_descriptor::reserved_task_gate_2

◆ rw

uint8_t segment_descriptor::rw

◆ segment_selector

uint16_t segment_descriptor::segment_selector

◆ type

uint8_t segment_descriptor::type

◆ use_other_union

uint8_t segment_descriptor::use_other_union

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