Turnstone Operating System
|
64 bit tss descriptor More...
#include <task.h>
Public Attributes | |
uint16_t | segment_limit1: 16 |
segment limit bits 0-15 | |
uint32_t | base_address1: 24 |
base address bits 0-23 | |
uint8_t | type: 4 |
tss type 0x9 in bits | |
uint8_t | always0_1: 1 |
uint8_t | dpl: 2 |
privilage level | |
uint8_t | present: 1 |
2/15 aka 47 is always 1 | |
uint8_t | segment_limit2: 4 |
segment limit bits 16-19 | |
uint8_t | unused1: 1 |
unused bit os can use it | |
uint8_t | always0_2: 2 |
uint8_t | long_mode: 1 |
this bit is always 1 for long mode aka granularity | |
uint64_t | base_address2: 40 |
base address bits 24-63 | |
uint8_t | reserved0: 8 |
reserved bits | |
uint16_t | always0_3: 5 |
always zero | |
uint32_t | reserved1: 19 |
reserved bits | |
64 bit tss descriptor