/freebsd-9.3-release/sys/dev/iir/ |
H A D | iir_pci.c | 185 struct gdt_softc *gdt; local 210 gdt = device_get_softc(dev); 211 gdt->sc_devnode = dev; 212 gdt->sc_init_level = 0; 213 gdt->sc_dpmemt = rman_get_bustag(io); 214 gdt->sc_dpmemh = rman_get_bushandle(io); 215 gdt->sc_dpmembase = rman_get_start(io); 216 gdt->sc_hanum = device_get_unit(dev); 217 gdt->sc_bus = pci_get_bus(dev); 218 gdt 368 gdt_pci_enable_intr(struct gdt_softc *gdt) argument 389 gdt_mpr_copy_cmd(struct gdt_softc *gdt, struct gdt_ccb *gccb) argument 411 gdt_mpr_get_status(struct gdt_softc *gdt) argument 419 gdt_mpr_intr(struct gdt_softc *gdt, struct gdt_intr_ctx *ctx) argument 461 gdt_mpr_release_event(struct gdt_softc *gdt) argument 469 gdt_mpr_set_sema0(struct gdt_softc *gdt) argument 477 gdt_mpr_test_busy(struct gdt_softc *gdt) argument [all...] |
H A D | iir.c | 159 static int gdt_internal_cmd(struct gdt_softc *gdt, struct gdt_ccb *gccb, 162 static int gdt_wait(struct gdt_softc *gdt, struct gdt_ccb *ccb, 165 static struct gdt_ccb *gdt_get_ccb(struct gdt_softc *gdt); 167 static int gdt_sync_event(struct gdt_softc *gdt, int service, 169 static int gdt_async_event(struct gdt_softc *gdt, int service); 170 static struct gdt_ccb *gdt_raw_cmd(struct gdt_softc *gdt, 172 static struct gdt_ccb *gdt_cache_cmd(struct gdt_softc *gdt, 174 static struct gdt_ccb *gdt_ioctl_cmd(struct gdt_softc *gdt, 176 static void gdt_internal_cache_cmd(struct gdt_softc *gdt,union ccb *ccb); 184 iir_init(struct gdt_softc *gdt) argument 450 iir_free(struct gdt_softc *gdt) argument 481 iir_attach(struct gdt_softc *gdt) argument 548 gdt_wait(struct gdt_softc *gdt, struct gdt_ccb *gccb, int timeout) argument 575 gdt_internal_cmd(struct gdt_softc *gdt, struct gdt_ccb *gccb, u_int8_t service, u_int16_t opcode, u_int32_t arg1, u_int32_t arg2, u_int32_t arg3) argument 641 gdt_get_ccb(struct gdt_softc *gdt) argument 662 gdt_free_ccb(struct gdt_softc *gdt, struct gdt_ccb *gccb) argument 679 gdt_next(struct gdt_softc *gdt) argument 793 gdt_raw_cmd(struct gdt_softc *gdt, union ccb *ccb, int *lock) argument 863 gdt_cache_cmd(struct gdt_softc *gdt, union ccb *ccb, int *lock) argument 935 gdt_ioctl_cmd(struct gdt_softc *gdt, gdt_ucmd_t *ucmd, int *lock) argument 1073 gdt_internal_cache_cmd(struct gdt_softc *gdt,union ccb *ccb) argument 1182 struct gdt_softc *gdt; local 1254 struct gdt_softc *gdt; local 1404 struct gdt_softc *gdt; local 1420 struct gdt_softc *gdt; local 1470 struct gdt_softc *gdt = arg; local 1594 gdt_async_event(struct gdt_softc *gdt, int service) argument 1653 gdt_sync_event(struct gdt_softc *gdt, int service, u_int8_t index, struct gdt_ccb *gccb) argument [all...] |
H A D | iir_ctrl.c | 125 struct gdt_softc *gdt; local 134 for (gdt = TAILQ_FIRST(&gdt_softcs); 135 gdt != NULL && gdt->sc_hanum != hanum; 136 gdt = TAILQ_NEXT(gdt, links)); 138 return (gdt); 148 struct gdt_softc *gdt; local 151 gdt = gdt_minor2softc(minor_no); 152 if (gdt 166 struct gdt_softc *gdt; local 184 struct gdt_softc *gdt; local 202 struct gdt_softc *gdt; local 226 struct gdt_softc *gdt; local 241 struct gdt_softc *gdt; local 268 struct gdt_softc *gdt; local [all...] |
H A D | iir.h | 599 #define GDT_CLASS(gdt) ((gdt)->sc_class & GDT_CLASS_MASK) 745 void gdt_next(struct gdt_softc *gdt); 746 void gdt_free_ccb(struct gdt_softc *gdt, struct gdt_ccb *gccb);
|
/freebsd-9.3-release/sys/amd64/amd64/ |
H A D | mpboot.S | 50 * Find relocation base and patch the gdt descript and ljmp targets 72 * %cs to be loaded from the gdt. 75 * ljmpl $bootcode-gdt, $protmode-mptramp_start 83 .word bootcode-gdt /* index in gdt for 32 bit code */ 90 mov $bootdata-gdt, %eax 140 * ljmp $kernelcode-gdt, $tramp_64-mptramp_start 147 .word kernelcode-gdt /* index in gdt for 64 bit code */ 164 gdt label [all...] |
H A D | mp_machdep.c | 635 ssdtosd(&gdt_segs[x], &gdt[NGDT * cpu + x]); 638 (struct system_segment_descriptor *)&gdt[NGDT * cpu + GPROC0_SEL]); 639 ap_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; 640 ap_gdt.rd_base = (long) &gdt[NGDT * cpu]; 655 pc->pc_tss = (struct system_segment_descriptor *)&gdt[NGDT * cpu + 657 pc->pc_fs32p = &gdt[NGDT * cpu + GUFS32_SEL]; 658 pc->pc_gs32p = &gdt[NGDT * cpu + GUGS32_SEL]; 659 pc->pc_ldt = (struct system_segment_descriptor *)&gdt[NGDT * cpu +
|
H A D | machdep.c | 1001 struct user_segment_descriptor gdt[NGDT * MAXCPU];/* global descriptor tables */ variable in typeref:struct:user_segment_descriptor 1682 * make gdt memory segments 1687 ssdtosd(&gdt_segs[x], &gdt[x]); 1691 (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); 1693 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; 1694 r_gdt.rd_base = (long) gdt; 1709 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); 1710 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); 1711 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); 1712 PCPU_SET(gs32p, &gdt[GUGS32_SE [all...] |
H A D | trap.c | 812 sdtossd(&gdt[NGDT * PCPU_GET(cpuid) + IDXSEL(frame->tf_cs & 0xffff)],
|
/freebsd-9.3-release/sys/boot/i386/libi386/ |
H A D | amd64_tramp.S | 58 .word gdtend - gdt 59 .long VTOP(gdt) # low 62 gdt: label
|
/freebsd-9.3-release/sys/boot/i386/pxeldr/ |
H A D | pxeldr.S | 149 lgdt gdtdesc # setup our own gdt 283 gdt: .word 0x0,0x0,0x0,0x0 # Null entry label 288 gdt.1: 292 gdtdesc: .word gdt.1-gdt-1 # Limit 293 .long gdt # Base
|
/freebsd-9.3-release/sys/ia64/ia32/ |
H A D | ia32_signal.c | 135 vm_offset_t gdt, ldt; local 171 gdt = sv->sv_usrstack; 172 vm_map_find(&vmspace->vm_map, 0, 0, &gdt, IA32_PAGE_SIZE << 1, 0, 174 ldt = gdt + IA32_PAGE_SIZE; 185 copyout(&desc, (caddr_t) gdt + 8*GLDT_SEL, sizeof(desc)); 222 gdtseg = gdt /* base */
|
/freebsd-9.3-release/sys/compat/ndis/ |
H A D | kern_windrv.c | 630 struct gdt { struct 640 extern void x86_getldt(struct gdt *, uint16_t *); 641 extern void x86_setldt(struct gdt *, uint16_t); 905 struct x86desc *gdt; local 906 struct gdt gtable; 917 gdt = gtable.base; 918 gdt += FREEBSD_EMPTYSEL; 922 bzero((char *)gdt, sizeof(struct x86desc)); 935 struct gdt gtable;
|
/freebsd-9.3-release/sys/i386/include/ |
H A D | segments.h | 162 * region descriptors, used to load gdt/idt tables before segments yet exist. 261 extern union descriptor *gdt; 264 extern union descriptor gdt[];
|
/freebsd-9.3-release/sys/boot/i386/cdboot/ |
H A D | cdboot.S | 215 lgdt gdtdesc # setup our own gdt 545 gdt: .word 0x0,0x0,0x0,0x0 # Null entry label 550 gdt.1: 554 gdtdesc: .word gdt.1-gdt-1 # Limit 555 .long gdt # Base
|
/freebsd-9.3-release/sys/amd64/acpica/ |
H A D | acpi_switch.S | 44 lgdt WAKEUP_CTX(gdt)
|
/freebsd-9.3-release/sys/amd64/include/ |
H A D | segments.h | 180 * region descriptors, used to load gdt/idt tables before segments yet exist. 238 extern struct user_segment_descriptor gdt[];
|
/freebsd-9.3-release/sys/i386/i386/ |
H A D | mp_machdep.c | 688 ssdtosd(&gdt_segs[x], &gdt[myid * NGDT + x].sd); 691 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; 692 r_gdt.rd_base = (int) &gdt[myid * NGDT]; 701 gdt[myid * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; 705 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); 709 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd);
|
H A D | machdep.c | 1630 union descriptor *gdt; variable in typeref:union:descriptor 1633 union descriptor gdt[NGDT * MAXCPU]; /* global descriptor table */ variable in typeref:union:descriptor 2597 PT_SET_MA(gdt, xpmap_ptom(VTOP(gdt)) | PG_V | PG_RW); 2598 bzero(gdt, PAGE_SIZE); 2600 ssdtosd(&gdt_segs[x], &gdt[x].sd); 2604 gdtmachpfn = vtomach(gdt) >> PAGE_SHIFT; 2605 PT_SET_MA(gdt, xpmap_ptom(VTOP(gdt)) | PG_V); 2725 PCPU_SET(fsgs_gdt, &gdt[GUFS_SE [all...] |
H A D | bios.c | 269 p_gdt = &gdt[PCPU_GET(cpuid) * NGDT]; 271 p_gdt = gdt;
|
H A D | sys_machdep.c | 201 * the next context switch. Also store it in the gdt 242 * the next context switch. Also store it in the gdt 429 gdt[PCPU_GET(cpuid) * NGDT + GUSERLDT_SEL].sd = pldt->ldt_sd; 431 gdt[GUSERLDT_SEL].sd = pldt->ldt_sd;
|
/freebsd-9.3-release/sys/boot/pc98/cdboot/ |
H A D | cdboot.S | 462 lgdt gdtdesc # setup our own gdt 756 gdt: .word 0x0,0x0,0x0,0x0 # Null entry label 761 gdt.1: 765 gdtdesc: .word gdt.1-gdt-1 # Limit 766 .long LOAD_SEG<<4 + gdt # Base
|
/freebsd-9.3-release/sys/i386/xen/ |
H A D | mp_machdep.c | 535 gdt[bootAP * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; 541 PCPU_SET(tss_gdt, &gdt[bootAP * NGDT + GPROC0_SEL].sd); 545 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); 743 bootAPgdt = gdt + (512*cpu);
|
/freebsd-9.3-release/sys/pc98/pc98/ |
H A D | machdep.c | 1443 union descriptor gdt[NGDT * MAXCPU]; /* global descriptor table */ variable in typeref:union:descriptor 2153 * Make gdt memory segments. All segments cover the full 4GB 2169 ssdtosd(&gdt_segs[x], &gdt[x].sd); 2171 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; 2172 r_gdt.rd_base = (int) gdt; 2315 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); 2321 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd);
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 923 desc = &gdt[ndx].sd; 925 desc = &gdt[ndx];
|
/freebsd-9.3-release/sys/dev/isp/ |
H A D | isp_freebsd.h | 256 struct callout gdt; /* gone device timer */ member in struct:isp_fc
|