revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-pc / kernel / segments.h
blob001d9837f065875e0982b017d12a461202c24dcb
1 #ifndef KERNEL_SEGMENTS_H
2 #define KERNEL_SEGMENTS_H
3 /*
4 * Standard values for x86 segment registers.
5 * This file can be included from both C and assembler sources.
6 */
8 #define KERNEL_CS 0x08
9 #define KERNEL_DS 0x10
11 #if (__WORDSIZE==64)
12 # define USER_CS32 0x1b
13 # define USER_CS 0x2b
14 #else
15 # define USER_CS 0x1b
16 #endif
17 #define USER_DS 0x23
18 #define USER_GS 0x30
19 #define SEG_LDT 0x38
20 #define TASK_SEG 0x40
22 #endif /* !KERNEL_SEGMENTS_H */