/src/sys/arch/amd64/amd64/ |
prekern.c | 47 #include <x86/bootspace.h> 58 void *bootspace; member in struct:prekern_args 83 extern struct bootspace bootspace; 94 memcpy(&bootspace, pkargs->bootspace, sizeof(bootspace)); 119 extern struct bootspace bootspace; 120 pd_entry_t *pdir = (pd_entry_t *)bootspace.pdir [all...] |
machdep.c | 189 #include <x86/bootspace.h> 275 extern struct bootspace bootspace; 390 uvm_map_setup(&module_map_store, bootspace.smodule, 391 bootspace.emodule, 0); 1537 tssym = bootspace.head.va; 1538 tesym = bootspace.head.va; /* (unused...) */ 1569 memset(&bootspace, 0, sizeof(bootspace)); 1571 bootspace.head.va = KERNTEXTOFF [all...] |
/src/sys/arch/amd64/stand/prekern/ |
mm.c | 53 struct bootspace bootspace; variable in typeref:struct:bootspace 141 if (bootspace.segs[i].type == BTSEG_TEXT) { 143 } else if (bootspace.segs[i].type == BTSEG_RODATA) { 148 mm_mprotect(bootspace.segs[i].va, bootspace.segs[i].sz, prot); 221 if (bootspace.segs[i].type == BTSEG_NONE) { 224 sva = bootspace.segs[i].va; 225 eva = sva + bootspace.segs[i].sz; 257 if (bootspace.segs[i].type == BTSEG_NONE) [all...] |
prekern.c | 180 void *bootspace; member in struct:prekern_args 197 extern struct bootspace bootspace; 212 pkargs.bootspace = &bootspace; 220 pkargs.lwp0uarea = bootspace.boot.va + (stkpa - bootspace.boot.pa);
|
prekern.h | 39 #include <x86/bootspace.h>
|
/src/sys/arch/x86/x86/ |
db_memrw.c | 65 #include <x86/bootspace.h> 211 extern struct bootspace bootspace; 219 if (bootspace.segs[i].type != BTSEG_TEXT && 220 bootspace.segs[i].type != BTSEG_RODATA) { 223 if (addr >= bootspace.segs[i].va && 224 addr < (bootspace.segs[i].va + bootspace.segs[i].sz)) {
|
patch.c | 56 #include <x86/bootspace.h> 248 extern struct bootspace bootspace; 254 if (bootspace.segs[i].type != BTSEG_TEXT) 256 va = bootspace.segs[i].va; 258 while (n < bootspace.segs[i].sz) {
|
pmap.c | 172 #include <x86/bootspace.h> 342 struct bootspace bootspace __read_mostly; 1245 kpm->pm_pdir = (pd_entry_t *)bootspace.pdir; 1326 early_zerop = (void *)bootspace.spareva; 1588 tmpva = bootspace.spareva; 1712 spahole = roundup(bootspace.head.pa, NBPD_L2); 1713 epahole = rounddown(bootspace.boot.pa, NBPD_L2); 1735 tmpva = bootspace.spareva; 1806 kva = bootspace.head.va [all...] |
x86_machdep.c | 58 #include <x86/bootspace.h> 969 extern struct bootspace bootspace; 970 paddr_t pa_kstart = bootspace.head.pa;
|
/src/sys/arch/amd64/include/ |
asan.h | 41 #include <x86/bootspace.h> 88 extern struct bootspace bootspace; 90 pt_entry_t *pdir = (pt_entry_t *)bootspace.pdir; 215 extern struct bootspace bootspace; 222 if (bootspace.segs[i].type == BTSEG_NONE) { 225 kasan_shadow_map((void *)bootspace.segs[i].va, 226 bootspace.segs[i].sz); 230 kasan_shadow_map((void *)bootspace.boot.va, bootspace.boot.sz) [all...] |
msan.h | 43 #include <x86/bootspace.h> 170 extern struct bootspace bootspace; 177 if (bootspace.segs[i].type == BTSEG_NONE) { 180 kmsan_shadow_map((void *)bootspace.segs[i].va, 181 bootspace.segs[i].sz); 185 kmsan_shadow_map((void *)bootspace.boot.va, bootspace.boot.sz); 188 kmsan_shadow_map((void *)bootspace.smodule, 189 (size_t)(bootspace.emodule - bootspace.smodule)) [all...] |
/src/sys/arch/x86/include/ |
bootspace.h | 1 /* $NetBSD: bootspace.h,v 1.1 2022/08/20 23:15:37 riastradh Exp $ */ 74 struct bootspace { struct
|
/src/sys/arch/i386/i386/ |
machdep.c | 141 #include <x86/bootspace.h> 234 extern struct bootspace bootspace; 1139 memset(&bootspace, 0, sizeof(bootspace)); 1141 bootspace.head.va = KERNTEXTOFF; 1142 bootspace.head.pa = KERNTEXTOFF - KERNBASE; 1143 bootspace.head.sz = 0; 1145 bootspace.segs[i].type = BTSEG_TEXT; 1146 bootspace.segs[i].va = KERNTEXTOFF [all...] |