Searched refs:bootspace (Results 1 – 12 of 12) sorted by relevance
/netbsd/sys/arch/amd64/stand/prekern/ |
H A D | mm.c | 53 struct bootspace bootspace; variable 148 mm_mprotect(bootspace.segs[i].va, bootspace.segs[i].sz, prot); in mm_bootspace_mprotect() 260 pa = bootspace.segs[i].pa + bootspace.segs[i].sz; in bootspace_get_kern_segs_end_pa() 357 bootspace.head.va = randva; in mm_map_head() 359 bootspace.head.sz = size; in mm_map_head() 443 bootspace.boot.va = randva; in mm_map_boot() 444 bootspace.boot.pa = bootpa; in mm_map_boot() 450 bootspace.spareva = bootspace.boot.va + NKL2_KIMG_ENTRIES * NBPD_L2; in mm_map_boot() 451 bootspace.pdir = bootspace.boot.va + (PDPpaddr - bootspace.boot.pa); in mm_map_boot() 453 bootspace.emodule = bootspace.boot.va + NKL2_KIMG_ENTRIES * NBPD_L2; in mm_map_boot() [all …]
|
H A D | prekern.c | 180 void *bootspace; member 197 extern struct bootspace bootspace; in init_prekern_args() 212 pkargs.bootspace = &bootspace; in init_prekern_args() 220 pkargs.lwp0uarea = bootspace.boot.va + (stkpa - bootspace.boot.pa); in init_prekern_args()
|
/netbsd/sys/arch/amd64/include/ |
H A 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()
|
H A 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/sys/arch/amd64/amd64/ |
H A 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()
|
H A D | machdep.c | 275 extern struct bootspace bootspace; 391 bootspace.emodule, 0); in cpu_startup() 1518 tssym = bootspace.head.va; in init_x86_64_ksyms() 1543 memset(&bootspace, 0, sizeof(bootspace)); in init_bootspace() 1545 bootspace.head.va = KERNTEXTOFF; in init_bootspace() 1547 bootspace.head.sz = 0; in init_bootspace() 2214 kva = bootspace.head.va; in mm_md_kernacc() 2215 kva_end = kva + bootspace.head.sz; in mm_md_kernacc() 2222 kva = bootspace.segs[i].va; in mm_md_kernacc() 2236 kva = bootspace.boot.va; in mm_md_kernacc() [all …]
|
/netbsd/sys/arch/x86/x86/ |
H A 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()
|
H A 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()
|
H A D | pmap.c | 342 struct bootspace bootspace __read_mostly; 1588 tmpva = bootspace.spareva; 1735 tmpva = bootspace.spareva; 1806 kva = bootspace.head.va; 1807 kva_end = kva + bootspace.head.sz; 1819 kva = bootspace.segs[i].va; 1829 kva = bootspace.boot.va; 1830 kva_end = kva + bootspace.boot.sz; 1862 bootspace.segs[i].sz, NBPD_L2); 1881 bootspace.segs[i].sz, NBPD_L2); [all …]
|
H A D | x86_machdep.c | 962 extern struct bootspace bootspace; in init_x86_vm() 963 paddr_t pa_kstart = bootspace.head.pa; in init_x86_vm()
|
/netbsd/sys/arch/i386/i386/ |
H A D | machdep.c | 234 extern struct bootspace bootspace; 1137 memset(&bootspace, 0, sizeof(bootspace)); in init_bootspace() 1139 bootspace.head.va = KERNTEXTOFF; in init_bootspace() 1140 bootspace.head.pa = KERNTEXTOFF - KERNBASE; in init_bootspace() 1141 bootspace.head.sz = 0; in init_bootspace() 1143 bootspace.segs[i].type = BTSEG_TEXT; in init_bootspace() 1144 bootspace.segs[i].va = KERNTEXTOFF; in init_bootspace() 1145 bootspace.segs[i].pa = KERNTEXTOFF - KERNBASE; in init_bootspace() 1149 bootspace.segs[i].type = BTSEG_RODATA; in init_bootspace() 1155 bootspace.segs[i].type = BTSEG_DATA; in init_bootspace() [all …]
|
/netbsd/sys/arch/x86/include/ |
H A D | bootspace.h | 74 struct bootspace { struct
|