Subversion Repositories HelenOS-historic

Rev

Rev 1187 | Rev 1203 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1187 Rev 1201
Line 65... Line 65...
65
 
65
 
66
#define DPL_KERNEL  (PL_KERNEL<<5)
66
#define DPL_KERNEL  (PL_KERNEL<<5)
67
#define DPL_USER    (PL_USER<<5)
67
#define DPL_USER    (PL_USER<<5)
68
 
68
 
69
#define TSS_BASIC_SIZE  104
69
#define TSS_BASIC_SIZE  104
-
 
70
#define TSS_IOMAP_SIZE  (16*1024+1) /* 16K for bitmap + 1 terminating byte for convenience */
70
 
71
 
71
#ifndef __ASM__
72
#ifndef __ASM__
72
 
73
 
73
struct descriptor {
74
struct descriptor {
74
    unsigned limit_0_15: 16;
75
    unsigned limit_0_15: 16;
Line 142... Line 143...
142
    __u64 ist6;
143
    __u64 ist6;
143
    __u64 ist7;
144
    __u64 ist7;
144
    __u64 reserve3;
145
    __u64 reserve3;
145
    __u16 reserve4;
146
    __u16 reserve4;
146
    __u16 iomap_base;
147
    __u16 iomap_base;
147
    __u8 iomap[0x10000 + 1];    /* 64K + 1 terminating byte */
148
    __u8 iomap[TSS_IOMAP_SIZE];
148
} __attribute__ ((packed));
149
} __attribute__ ((packed));
149
typedef struct tss tss_t;
150
typedef struct tss tss_t;
150
 
151
 
151
extern tss_t *tss_p;
152
extern tss_t *tss_p;
152
 
153