Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
|
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... | |
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.
unsigned callgate_descriptor_s::args |
Number of parameters to be copied between stacks if a task switch occurs.
unsigned callgate_descriptor_s::dpl |
Descriptor Privilege Level.
unsigned callgate_descriptor_s::offset_high |
Higher bits of the entrypoint offset in segment (31..16)
unsigned callgate_descriptor_s::offset_low |
Lower bits of the entrypoint offset in segment (15..0)
unsigned callgate_descriptor_s::present |
Present flag (validity of the callgate)
unsigned callgate_descriptor_s::reserved |
always zero smh
unsigned callgate_descriptor_s::segment |
Code segment to be accessed.
unsigned callgate_descriptor_s::type |
Use GDT_CALLGATE_TYPE macro.
unsigned callgate_descriptor_s::zero |
always zero smh