Subversion Repositories HelenOS

Rev

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

Rev 2630 Rev 4125
Line 154... Line 154...
154
    /*
154
    /*
155
     * Before we load new TSS limit, the current TSS descriptor
155
     * Before we load new TSS limit, the current TSS descriptor
156
     * type must be changed to describe inactive TSS.
156
     * type must be changed to describe inactive TSS.
157
     */
157
     */
158
    gdt_p[TSS_DES].access = AR_PRESENT | AR_TSS | DPL_KERNEL;
158
    gdt_p[TSS_DES].access = AR_PRESENT | AR_TSS | DPL_KERNEL;
159
    tr_load(selector(TSS_DES));
159
    tr_load(gdtselector(TSS_DES));
160
   
160
   
161
    /*
161
    /*
162
     * Update the generation count so that faults caused by
162
     * Update the generation count so that faults caused by
163
     * early accesses can be serviced.
163
     * early accesses can be serviced.
164
     */
164
     */