Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
Data Fields
callgate_descriptor_s Struct Reference

A callgate descriptor for the GDT/LDT Intel 64 and IA-32 Architectures Software Developer's Manual - Vol. 3a - Sec. 5.8.3 and Fig. 5.8. More...

#include <gdt.h>

Data Fields

unsigned offset_low: 16
 Lower bits of the entrypoint offset in segment (15..0) More...
 
unsigned segment: 16
 Code segment to be accessed. More...
 
unsigned args: 5
 Number of parameters to be copied between stacks if a task switch occurs. More...
 
unsigned reserved: 3
 always zero smh More...
 
unsigned type: 4
 Use GDT_CALLGATE_TYPE macro. More...
 
unsigned zero: 1
 always zero smh More...
 
unsigned dpl: 2
 Descriptor Privilege Level. More...
 
unsigned present: 1
 Present flag (validity of the callgate) More...
 
unsigned offset_high: 16
 Higher bits of the entrypoint offset in segment (31..16) More...
 

Detailed Description

A callgate descriptor for the GDT/LDT Intel 64 and IA-32 Architectures Software Developer's Manual - Vol. 3a - Sec. 5.8.3 and Fig. 5.8.

Field Documentation

◆ args

unsigned callgate_descriptor_s::args

Number of parameters to be copied between stacks if a task switch occurs.

◆ dpl

unsigned callgate_descriptor_s::dpl

Descriptor Privilege Level.

◆ offset_high

unsigned callgate_descriptor_s::offset_high

Higher bits of the entrypoint offset in segment (31..16)

◆ offset_low

unsigned callgate_descriptor_s::offset_low

Lower bits of the entrypoint offset in segment (15..0)

◆ present

unsigned callgate_descriptor_s::present

Present flag (validity of the callgate)

◆ reserved

unsigned callgate_descriptor_s::reserved

always zero smh

◆ segment

unsigned callgate_descriptor_s::segment

Code segment to be accessed.

◆ type

unsigned callgate_descriptor_s::type

Use GDT_CALLGATE_TYPE macro.

◆ zero

unsigned callgate_descriptor_s::zero

always zero smh


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