Ejemplo n.º 1
0
void
ldt_free(struct pmap *pmap)
{
	int slot;

	slot = IDXSEL(pmap->pm_ldt_sel);

	gdt_put_slot1(slot, 1);
}
Ejemplo n.º 2
0
void
ldt_free(int sel)
{
    int slot;

    slot = IDXSEL(sel);
#ifndef XEN
    gdt_put_slot(slot);
#else
    gdt_put_slot1(slot, 1);
#endif
}
Ejemplo n.º 3
0
/*
 * Deallocate a GDT slot, putting it on the free list.
 */
void
gdt_put_slot(int slot)
{
    gdt_put_slot1(slot, 0);
}