1 /* 2 ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. 3 ** Distributed under the terms of the NewOS License. 4 */ 5 #ifndef _KERNEL_ARCH_x86_DESCRIPTORS_H 6 #define _KERNEL_ARCH_x86_DESCRIPTORS_H 7 8 #define KERNEL_CODE_SEG 0x8 9 #define KERNEL_DATA_SEG 0x10 10 #define USER_CODE_SEG 0x1b 11 #define USER_DATA_SEG 0x23 12 #define TSS 0x28 13 14 #endif /* _KERNEL_ARCH_x86_DESCRIPTORS_H */ 15 16