Searched refs:bootspace (Results 1 – 10 of 10) sorted by relevance
| /netbsd/src/sys/arch/amd64/include/ |
| D | asan.h | 88 extern struct bootspace bootspace; in __md_early_shadow_map_page() 90 pt_entry_t *pdir = (pt_entry_t *)bootspace.pdir; in __md_early_shadow_map_page() 215 extern struct bootspace bootspace; in kasan_md_init() 222 if (bootspace.segs[i].type == BTSEG_NONE) { in kasan_md_init() 225 kasan_shadow_map((void *)bootspace.segs[i].va, in kasan_md_init() 226 bootspace.segs[i].sz); in kasan_md_init() 230 kasan_shadow_map((void *)bootspace.boot.va, bootspace.boot.sz); in kasan_md_init() 233 kasan_shadow_map((void *)bootspace.smodule, in kasan_md_init() 234 (size_t)(bootspace.emodule - bootspace.smodule)); in kasan_md_init() 237 kasan_shadow_map((void *)bootspace.spareva, PAGE_SIZE); in kasan_md_init()
|
| D | msan.h | 170 extern struct bootspace bootspace; in kmsan_md_init() 177 if (bootspace.segs[i].type == BTSEG_NONE) { in kmsan_md_init() 180 kmsan_shadow_map((void *)bootspace.segs[i].va, in kmsan_md_init() 181 bootspace.segs[i].sz); in kmsan_md_init() 185 kmsan_shadow_map((void *)bootspace.boot.va, bootspace.boot.sz); in kmsan_md_init() 188 kmsan_shadow_map((void *)bootspace.smodule, in kmsan_md_init() 189 (size_t)(bootspace.emodule - bootspace.smodule)); in kmsan_md_init() 192 kmsan_shadow_map((void *)bootspace.spareva, PAGE_SIZE); in kmsan_md_init()
|
| /netbsd/src/sys/arch/amd64/amd64/ |
| D | prekern.c | 58 void *bootspace; member 83 extern struct bootspace bootspace; in prekern_copy_args() 94 memcpy(&bootspace, pkargs->bootspace, sizeof(bootspace)); in prekern_copy_args() 119 extern struct bootspace bootspace; in prekern_unmap_pte() 120 pd_entry_t *pdir = (pd_entry_t *)bootspace.pdir; in prekern_unmap_pte()
|
| D | machdep.c | 275 extern struct bootspace bootspace; 390 uvm_map_setup(&module_map_store, bootspace.smodule, in cpu_startup() 391 bootspace.emodule, 0); in cpu_startup() 1537 tssym = bootspace.head.va; in init_x86_64_ksyms() 1538 tesym = bootspace.head.va; /* (unused...) */ in init_x86_64_ksyms() 1569 memset(&bootspace, 0, sizeof(bootspace)); in init_bootspace() 1571 bootspace.head.va = KERNTEXTOFF; in init_bootspace() 1572 bootspace.head.pa = KERNTEXTOFF - KERNBASE; in init_bootspace() 1573 bootspace.head.sz = 0; in init_bootspace() 1575 bootspace.segs[i].type = BTSEG_TEXT; in init_bootspace() [all …]
|
| /netbsd/src/sys/arch/x86/x86/ |
| D | db_memrw.c | 211 extern struct bootspace bootspace; in db_write_bytes() 219 if (bootspace.segs[i].type != BTSEG_TEXT && in db_write_bytes() 220 bootspace.segs[i].type != BTSEG_RODATA) { in db_write_bytes() 223 if (addr >= bootspace.segs[i].va && in db_write_bytes() 224 addr < (bootspace.segs[i].va + bootspace.segs[i].sz)) { in db_write_bytes()
|
| D | patch.c | 248 extern struct bootspace bootspace; in remove_d_bit() 254 if (bootspace.segs[i].type != BTSEG_TEXT) in remove_d_bit() 256 va = bootspace.segs[i].va; in remove_d_bit() 258 while (n < bootspace.segs[i].sz) { in remove_d_bit()
|
| D | pmap.c | 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; 1807 kva_end = kva + bootspace.head.sz; 1816 if (bootspace.segs[i].type == BTSEG_NONE) { [all …]
|
| D | x86_machdep.c | 960 extern struct bootspace bootspace; in init_x86_vm() 961 paddr_t pa_kstart = bootspace.head.pa; in init_x86_vm()
|
| /netbsd/src/sys/arch/i386/i386/ |
| D | machdep.c | 234 extern struct bootspace bootspace; 1139 memset(&bootspace, 0, sizeof(bootspace)); in init_bootspace() 1141 bootspace.head.va = KERNTEXTOFF; in init_bootspace() 1142 bootspace.head.pa = KERNTEXTOFF - KERNBASE; in init_bootspace() 1143 bootspace.head.sz = 0; in init_bootspace() 1145 bootspace.segs[i].type = BTSEG_TEXT; in init_bootspace() 1146 bootspace.segs[i].va = KERNTEXTOFF; in init_bootspace() 1147 bootspace.segs[i].pa = KERNTEXTOFF - KERNBASE; in init_bootspace() 1148 bootspace.segs[i].sz = (size_t)&__rodata_start - KERNTEXTOFF; in init_bootspace() 1151 bootspace.segs[i].type = BTSEG_RODATA; in init_bootspace() [all …]
|
| /netbsd/src/sys/arch/x86/include/ |
| D | bootspace.h | 74 struct bootspace { struct
|