Home
last modified time | relevance | path

Searched refs:gdt_segs (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/i386/include/
H A Dsegments.h89 extern struct soft_segment_descriptor gdt_segs[];
/f-stack/freebsd/i386/i386/
H A Dmp_machdep.c249 gdt_segs[GPRIV_SEL].ssd_base = (int)pc; in init_secondary()
250 gdt_segs[GPROC0_SEL].ssd_base = (int)common_tssp; in init_secondary()
251 gdt_segs[GLDT_SEL].ssd_base = (int)ldt; in init_secondary()
254 ssdtosd(&gdt_segs[x], &gdt[myid * NGDT + x].sd); in init_secondary()
H A Dsys_machdep.c465 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()
H A Dmachdep.c1277 struct soft_segment_descriptor gdt_segs[] = { variable
2355 gdt_segs[GCODE_SEL].ssd_limit = atop(0 - 1); in init386()
2356 gdt_segs[GDATA_SEL].ssd_limit = atop(0 - 1); in init386()
2357 gdt_segs[GUCODE_SEL].ssd_limit = atop(0 - 1); in init386()
2358 gdt_segs[GUDATA_SEL].ssd_limit = atop(0 - 1); in init386()
2359 gdt_segs[GUFS_SEL].ssd_limit = atop(0 - 1); in init386()
2360 gdt_segs[GUGS_SEL].ssd_limit = atop(0 - 1); in init386()
2363 gdt_segs[GPRIV_SEL].ssd_limit = atop(0 - 1); in init386()
2364 gdt_segs[GPRIV_SEL].ssd_base = (int)pc; in init386()
2365 gdt_segs[GPROC0_SEL].ssd_base = (int)&common_tss0; in init386()
[all …]
/f-stack/freebsd/amd64/include/
H A Dsegments.h92 extern struct soft_segment_descriptor gdt_segs[];
/f-stack/freebsd/amd64/amd64/
H A Dmp_machdep.c328 gdt_segs[GPROC0_SEL].ssd_base = (long)&pc->pc_common_tss; in init_secondary()
332 ssdtosd(&gdt_segs[x], &gdt[x]); in init_secondary()
334 ssdtosyssd(&gdt_segs[GPROC0_SEL], in init_secondary()
H A Dmachdep.c685 struct soft_segment_descriptor gdt_segs[] = { variable
804 _Static_assert(nitems(gdt_segs) == NGDT, "Stale NGDT");
1693 ssdtosd(&gdt_segs[x], &gdt[x]); in hammer_time()
1695 gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&pc->pc_common_tss; in hammer_time()
1696 ssdtosyssd(&gdt_segs[GPROC0_SEL], in hammer_time()
H A Dpmap.c1890 gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&__pcpu[0].pc_common_tss; in pmap_bootstrap()
1891 ssdtosyssd(&gdt_segs[GPROC0_SEL], in pmap_bootstrap()
2116 ssdtosyssd(&gdt_segs[GPROC0_SEL], in pmap_bootstrap_la57()