Subversion Repositories HelenOS

Rev

Rev 112 | Rev 125 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 112 Rev 113
Line 129... Line 129...
129
}
129
}
130
 
130
 
131
 
131
 
132
void pm_init(void)
132
void pm_init(void)
133
{
133
{
134
    struct descriptor *gdt_p = (struct descriptor *) gdtr.base;
134
    struct descriptor *gdt_p = (struct descriptor *) PA2KA(gdtr.base);
135
 
135
 
136
    /*
136
    /*
137
     * Each CPU has its private GDT and TSS.
137
     * Each CPU has its private GDT and TSS.
138
     * All CPUs share one IDT.
138
     * All CPUs share one IDT.
139
     */
139
     */