1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef _ASM_SEGMENT_H #define _ASM_SEGMENT_H /* argh. really legacy. totally misnomed. */ #define __KERNEL_CS 0x10 #define __KERNEL_DS 0x18 #define __USER_CS 0x23 #define __USER_DS 0x2B typedef struct { unsigned long seg; } mm_segment_t; #endif