Describes the structure of segment descriptors.
More...
#include <machine/gdt.h>
Describes the structure of segment descriptors.
A data structure that contains size, position, access rights, and purpose of any segment. Segment descriptors are used in both the GDT, as well as in LDTs.
- See also
- ISDMv3, 3.4.5; Segment Descriptors
-
AAPMv2, 4.7 Legacy Segment Descriptors
-
AAPMv2, 4.8 Long-Mode Segment Descriptors
◆ SegmentDescriptor() [1/2]
| GDT::SegmentDescriptor::SegmentDescriptor |
( |
uint64_t | val = 0 | ) |
|
|
inlineconstexpr |
!< Merged value; useful for debugging
Constructor for a specific value
◆ SegmentDescriptor() [2/2]
| GDT::SegmentDescriptor::SegmentDescriptor |
( |
uintptr_t | base, |
|
|
uint32_t | limit, |
|
|
bool | code, |
|
|
int | ring, |
|
|
Size | size ) |
|
inlineconstexpr |
Constructor for a code/data GDT entry.
- Parameters
-
| base | Base Address of segment |
| limit | Size of segment |
| code | Code or data segment |
| ring | Privilege level |
| size | Address width |
◆ @235144354357331311101174347207266266237125201026
◆ @251030100133354226360331371126042111002362234170
◆ @277213316173245037203105114100167150025111362063
◆ value
The documentation for this union was generated from the following file: