Xen Test Framework
Data Fields
seg_desc32 Struct Reference

8 byte user segment descriptor (GDT/LDT entries with .s = 1) More...

#include <desc.h>

Data Fields

union {
   struct {
      uint32_t   lo
 
      uint32_t   hi
 
   } 
 Raw backing integers. More...
 
   struct {
      uint16_t   limit0
 
      uint16_t   base0
 
      uint8_t   base1
 
      union {
         struct {
            unsigned int   type:4
 
            bool   s:1
 
            unsigned int   dpl:2
 
            bool   p:1
 
            unsigned int   limit1:4
 
            bool   avl:1
 
            bool   g:1
 
         } 
 Common named fields. More...
 
         struct {
            bool   a:1
 
            bool   r:1
 
            bool   c:1
 
            bool   x:1
 
            unsigned   int:4
 
            unsigned   bool:4:1
 
            unsigned   l:1
 
            unsigned   d:1
 
         } 
 Code segment specific field names. More...
 
         struct {
            bool   __pad0__:1
 
            bool   w:1
 
            bool   e:1
 
            bool unsigned   int:1:4
 
            bool unsigned   bool:4:1
 
            bool unsigned   b:1
 
         } 
 Data segment specific field names. More...
 
      } 
 
      uint8_t   base2
 
   } 
 
   uint64_t   raw
 
}; 
 

Detailed Description

8 byte user segment descriptor (GDT/LDT entries with .s = 1)

Definition at line 19 of file desc.h.

Field Documentation

◆ lo

Definition at line 23 of file desc.h.

◆ hi

Definition at line 23 of file desc.h.

◆ limit0

uint16_t limit0

Definition at line 26 of file desc.h.

◆ base0

uint16_t base0

Definition at line 27 of file desc.h.

◆ base1

uint8_t base1

Definition at line 28 of file desc.h.

◆ type

unsigned int type

Definition at line 32 of file desc.h.

◆ s

bool s

Definition at line 34 of file desc.h.

◆ dpl

unsigned int dpl

Definition at line 35 of file desc.h.

◆ p

bool p

Definition at line 36 of file desc.h.

◆ limit1

unsigned int limit1

Definition at line 38 of file desc.h.

◆ avl

bool avl

Definition at line 40 of file desc.h.

◆ g

bool g

Definition at line 40 of file desc.h.

◆ a

bool a

Definition at line 44 of file desc.h.

◆ r

bool r

Definition at line 44 of file desc.h.

◆ c

bool c

Definition at line 44 of file desc.h.

◆ x

bool x

Definition at line 44 of file desc.h.

◆ int [1/2]

unsigned int

Definition at line 45 of file desc.h.

◆ bool [1/2]

unsigned bool

Definition at line 46 of file desc.h.

◆ l

unsigned l

Definition at line 46 of file desc.h.

◆ d

unsigned d

Definition at line 46 of file desc.h.

◆ __pad0__

bool __pad0__

Definition at line 50 of file desc.h.

◆ w

bool w

Definition at line 50 of file desc.h.

◆ e

bool e

Definition at line 50 of file desc.h.

◆ int [2/2]

bool unsigned int

Definition at line 51 of file desc.h.

◆ bool [2/2]

bool unsigned bool

Definition at line 52 of file desc.h.

◆ b

bool unsigned b

Definition at line 52 of file desc.h.

◆ base2

uint8_t base2

Definition at line 55 of file desc.h.

◆ raw

uint64_t raw

Definition at line 58 of file desc.h.

◆ 

union { ... } @3

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