/[rtmk]/rtmk/i386/i386-segment.h
ViewVC logotype

Diff of /rtmk/i386/i386-segment.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by jrydberg, Fri Jan 4 23:58:32 2002 UTC revision 1.4 by jrydberg, Mon Jan 7 01:09:57 2002 UTC
# Line 18  Foundation, Inc., 59 Temple Place - Suit Line 18  Foundation, Inc., 59 Temple Place - Suit
18  #ifndef __i386_segments_h  #ifndef __i386_segments_h
19  #define __i386_segments_h 1  #define __i386_segments_h 1
20    
21  #define SZGDT   9  #define SZGDT   (8 + NCPUS)
22  #define SZIDT   256  #define SZIDT   256
23  #define SZLDT   3  #define SZLDT   3
24    
25  #define KERNEL_CS     0x08  #define KERNEL_CS     0x08
26  #define KERNEL_DS     0x10  #define KERNEL_DS     0x10
27    #define KERNEL_LDT    0x28
28    #define USER_LDT      0x30
29    #define KERNEL_TSS    0x38
30    
31  #define USER_CS       0x07  #define USER_CS       0x07
32  #define USER_DS       0x0F  #define USER_DS       0x0F
 #define KERNEL_TSS    0x28  
 #define USER_TSS      0x30  
 #define KERNEL_LDT    0x38  
 #define USER_LDT      0x40  
 #define USER_SYSCALL  0x4B  
33    
34  #if !defined(ASSEMBLER)  #if !defined(ASSEMBLER)
35    
# Line 54  struct tss_segment Line 53  struct tss_segment
53    unsigned long ldt, tracetrap, bmoffset;    unsigned long ldt, tracetrap, bmoffset;
54  };  };
55    
56  extern struct tss_segment ktss;  extern struct tss_segment ktss [NCPUS];
57    
58  struct segment_pointer  struct segment_pointer
59  {  {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26