Subversion Repositories HelenOS-historic

Rev

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

Rev 1187 Rev 1251
Line 211... Line 211...
211
    tss_desc->present = 1;
211
    tss_desc->present = 1;
212
    tss_desc->type = AR_TSS;
212
    tss_desc->type = AR_TSS;
213
    tss_desc->dpl = PL_KERNEL;
213
    tss_desc->dpl = PL_KERNEL;
214
   
214
   
215
    gdt_tss_setbase(&gdt_p[TSS_DES], (__address) tss_p);
215
    gdt_tss_setbase(&gdt_p[TSS_DES], (__address) tss_p);
216
    gdt_tss_setlimit(&gdt_p[TSS_DES], sizeof(tss_t) - 1);
216
    gdt_tss_setlimit(&gdt_p[TSS_DES], TSS_BASIC_SIZE - 1);
217
 
217
 
218
    gdtr_load(&gdtr);
218
    gdtr_load(&gdtr);
219
    idtr_load(&idtr);
219
    idtr_load(&idtr);
220
    /*
220
    /*
221
     * As of this moment, the current CPU has its own GDT pointing
221
     * As of this moment, the current CPU has its own GDT pointing