Subversion Repositories HelenOS

Rev

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

Rev 3386 Rev 4153
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
     */