/src/sys/arch/amd64/include/ |
gdt.h | 1 /* $NetBSD: gdt.h,v 1.14 2021/04/30 13:54:26 christos Exp $ */ 3 #include <x86/gdt.h>
|
Makefile | 11 gdt.h \
|
/src/sys/arch/i386/include/ |
gdt.h | 1 /* $NetBSD: gdt.h,v 1.20 2021/04/30 13:54:26 christos Exp $ */ 3 #include <x86/gdt.h>
|
Makefile | 11 gdt.h \
|
/src/sys/arch/i386/stand/lib/ |
realprot.S | 41 gdt: label 47 flatcodeseg = . - gdt 53 flatdataseg = . - gdt 58 bootcodeseg = . - gdt 63 bootdataseg = . - gdt 68 bootrealseg = . - gdt 73 bootrealdata = . - gdt 76 gdtlen = . - gdt 106 /* fix up GDT entries for bootstrap */ 112 movw %ax, gdt+gdt_index+2; [all...] |
/src/sys/arch/x86/include/ |
Makefile | 16 gdt.h \
|
pmap_private.h | 113 #include <x86/gdt.h> 116 uint8_t gdt[MAXGDTSIZ]; member in struct:pcpu_entry
|
/src/sys/arch/i386/stand/dosboot/ |
start_dos.S | 80 gdt: label 91 flatcodeseg = . - gdt 97 flatdataseg = . - gdt 102 bootcodeseg = . - gdt 107 bootdataseg = . - gdt 117 bootrealseg = . - gdt 122 bootrealdata = . - gdt 125 gdtlen = . - gdt 161 /* fix up GDT entries for bootstrap */ 163 movw %ax, gdt+gdt_index+2; [all...] |
/src/sys/arch/i386/stand/efiboot/bootia32/ |
startprog32.S | 194 /* Setup GDT */ 195 lea (gdt - start)(%edx), %eax 237 gdt: label 242 .word gdtr - gdt
|
/src/sys/arch/i386/stand/efiboot/bootx64/ |
startprog64.S | 7 (gdt offsets) 214 /* Setup GDT */ 215 lea (gdt - start)(%rdi), %rax 256 gdt: label 261 .word gdtr - gdt
|
/src/sys/conf/ |
ssp.mk | 18 arch/xen/i386/gdt.c \
|
/src/sys/arch/i386/i386/ |
autoconf.c | 62 #include <machine/gdt.h>
|
mptramp.S | 85 #include <machine/gdt.h> 194 movl CPU_INFO_GDT(%ecx),%eax /* for our real gdt */ 215 .long gdt_table /* base of gdt */
|
gdt.c | 1 /* $NetBSD: gdt.c,v 1.74 2023/07/16 19:55:43 riastradh Exp $ */ 33 __KERNEL_RCSID(0, "$NetBSD: gdt.c,v 1.74 2023/07/16 19:55:43 riastradh Exp $"); 46 #include <machine/gdt.h> 58 /* size of GDT in bytes */ 95 * Called on a newly-allocated GDT slot, so no race between CPUs. 120 * Create a permanent Global Descriptor Table (GDT) for the 121 * primary CPU. This replaces the second tepmorary GDT that was 124 * temporary GDT allocated on the stack early at boot and 127 * 1. Allocate permanent space for the primary CPU's GDT with 130 * 2. Copy the temporary GDT's contents over. See initgdt for th [all...] |
locore.S | 309 .globl _C_LABEL(gdt) 547 /* Setup GDT */ 548 lea (gdt - efi_multiboot2_loader)(%edx), %eax 594 gdt: label 599 .word gdtr - gdt 819 * XXX: the gdt is in the carcass of the boot program so clearing 1091 * Initialize a temporary GDT (Global Descriptor Table) on the 1099 * Later, we will replace this temporary GDT on the stack by a 1100 * permanent GDT allocated with uvm_km in gdt_init. 1102 * XXX Intel recommends ensuring the GDT address is aligned o [all...] |
/src/sys/arch/x86/x86/ |
core_machdep.c | 100 #include <machine/gdt.h>
|
ipi.c | 56 #include <machine/gdt.h>
|
vm_machdep.c | 99 #include <machine/gdt.h>
|
svs.c | 51 #include <machine/gdt.h>
|
/src/sys/arch/amd64/amd64/ |
gdt.c | 1 /* $NetBSD: gdt.c,v 1.48 2022/08/20 23:48:50 riastradh Exp $ */ 40 __KERNEL_RCSID(0, "$NetBSD: gdt.c,v 1.48 2022/08/20 23:48:50 riastradh Exp $"); 54 #include <machine/gdt.h> 70 /* size of GDT in bytes */ 105 * Called on a newly-allocated GDT slot, so no race between CPUs. 129 * Initialize the GDT. We already have a gdtstore, which was temporarily used 145 /* The GDT is part of the pcpuarea */ 146 gdtstore = (char *)&pcpuarea->ent[cpu_index(ci)].gdt; 166 /* Copy the initial bootstrap GDT into the new area. */ 178 * Allocate shadow GDT for a secondary CPU. It contains the same values as th [all...] |
mptramp.S | 85 #include <machine/gdt.h>
|
/src/tests/lib/libi386/ |
t_user_ldt.c | 44 #include <machine/gdt.h>
|
/src/sys/arch/xen/x86/ |
xen_pmap.c | 124 #include <machine/gdt.h>
|
autoconf.c | 81 #include <machine/gdt.h>
|
/src/sys/dev/ic/ |
isp_netbsd.c | 115 callout_init(&isp->isp_osinfo.gdt, 0); 116 callout_setfunc(&isp->isp_osinfo.gdt, isp_gdt, isp); 927 isp_prt(isp, ISP_LOGDEBUG0, "GDT timer expired"); 955 callout_schedule(&isp->isp_osinfo.gdt, hz); 1415 callout_schedule(&isp->isp_osinfo.gdt, hz);
|