aboutsummaryrefslogtreecommitdiff
path: root/mirai.old/common/constants/gdt.zig
blob: ca852c82bc0793404bc7eb022d99a52787eb9f18 (plain)
1
2
3
4
5
6
7
//! GDT segment selectors

pub const KERNEL_CODE: u16 = 0x08;
pub const KERNEL_DATA: u16 = 0x10;
pub const USER_DATA: u16 = 0x18;
pub const USER_CODE: u16 = 0x20;
pub const TSS_SEGMENT: u16 = 0x28;