KernOS
accessright.h
Go to the documentation of this file.
1 //
2 // Created on 5/24/20.
3 //
4 
5 #ifndef KERNOS_ACCESSRIGHT_H
6 #define KERNOS_ACCESSRIGHT_H
7 
48 namespace AR // access right
49 {
50  const uint8_t NULL_ACCESS = 0x00;
51 
59  const uint8_t KERN_CS_ACCESS = 0x9A;
60 
68  const uint8_t USER_CS_ACCESS = 0xFA;
69 
77  const uint8_t KERN_DS_ACCESS = 0x92;
78 
86  const uint8_t USER_DS_ACCESS = 0xF2;
87 
95  const uint8_t INTERRUPT_ACCESS = 0x8E;
96 }
97 
98 #endif //KERNOS_ACCESSRIGHT_H
Access right byte convention - part of descriptor entry.
Definition: accessright.h:48
const uint8_t KERN_CS_ACCESS
Kernel code segment access descriptor.
Definition: accessright.h:59
const uint8_t USER_DS_ACCESS
User data segment access descriptor.
Definition: accessright.h:86
const uint8_t USER_CS_ACCESS
User code segment access descriptor.
Definition: accessright.h:68
const uint8_t INTERRUPT_ACCESS
Interrupt access descriptor.
Definition: accessright.h:95
const uint8_t KERN_DS_ACCESS
Kernel data segment access descriptor.
Definition: accessright.h:77
const uint8_t NULL_ACCESS
Definition: accessright.h:50