Searched refs:GUSERLDT_SEL (Results 1 – 6 of 6) sorted by relevance
418 gdt_idx = GUSERLDT_SEL; in set_user_ldt_locked()421 lldt(GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt_locked()422 PCPU_SET(currentldt, GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt_locked()465 gdt_segs[GUSERLDT_SEL].ssd_base = (unsigned)new_ldt->ldt_base; in user_ldt_alloc()466 gdt_segs[GUSERLDT_SEL].ssd_limit = len * sizeof(union descriptor) - 1; in user_ldt_alloc()467 ssdtosd(&gdt_segs[GUSERLDT_SEL], &new_ldt->ldt_sd); in user_ldt_alloc()
237 #define GUSERLDT_SEL 11 /* User LDT */ macro271 #define GUSERLDT_SEL 11 /* LDT */ macro
322 x != GUSERLDT_SEL && x != (GUSERLDT_SEL + 1)) in init_secondary()350 GUSERLDT_SEL]; in init_secondary()
253 ASSYM(LDTSEL, GSEL(GUSERLDT_SEL, SEL_KPL));
492 lldt(GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt()
1581 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in amd64_bsp_pcpu_init1()1698 x != GUSERLDT_SEL && x != (GUSERLDT_SEL) + 1) in hammer_time()