Searched refs:fake_preload (Results 1 – 4 of 4) sorted by relevance
352 static uint32_t fake_preload[35]; in fake_preload_metadata() local356 fake_preload[i++] = MODINFO_NAME; in fake_preload_metadata()357 fake_preload[i++] = strlen("kernel") + 1; in fake_preload_metadata()358 strcpy((char*)&fake_preload[i++], "kernel"); in fake_preload_metadata()360 fake_preload[i++] = MODINFO_TYPE; in fake_preload_metadata()361 fake_preload[i++] = strlen("elf kernel") + 1; in fake_preload_metadata()362 strcpy((char*)&fake_preload[i++], "elf kernel"); in fake_preload_metadata()364 fake_preload[i++] = MODINFO_ADDR; in fake_preload_metadata()365 fake_preload[i++] = sizeof(vm_offset_t); in fake_preload_metadata()366 fake_preload[i++] = KERNVIRTADDR; in fake_preload_metadata()[all …]
641 static uint32_t fake_preload[36] __aligned(8); in fake_preload_metadata() local644 fake_preload[i++] = MODINFO_NAME; in fake_preload_metadata()645 fake_preload[i++] = strlen("kernel") + 1; in fake_preload_metadata()646 strcpy((char*)&fake_preload[i], "kernel"); in fake_preload_metadata()650 fake_preload[i++] = MODINFO_TYPE; in fake_preload_metadata()651 fake_preload[i++] = strlen("elf kernel") + 1; in fake_preload_metadata()652 strcpy((char*)&fake_preload[i], "elf kernel"); in fake_preload_metadata()658 fake_preload[i++] = 0; in fake_preload_metadata()661 fake_preload[i++] = MODINFO_ADDR; in fake_preload_metadata()662 fake_preload[i++] = sizeof(vm_offset_t); in fake_preload_metadata()[all …]
89 static char fake_preload[256]; in fake_preload_metadata() local94 preload_ptr = (caddr_t)&fake_preload[0]; in fake_preload_metadata()125 preload_metadata = (caddr_t)(uintptr_t)fake_preload; in fake_preload_metadata()
349 static uint32_t fake_preload[48]; in fake_preload_metadata() local 354 *(type *)((char *)fake_preload + fake_size) = (value); \ in fake_preload_metadata() 362 strcpy(((char *)fake_preload + fake_size), str); \ in fake_preload_metadata() 406 preload_metadata = (caddr_t)fake_preload; in fake_preload_metadata() 414 KASSERT(fake_size < sizeof(fake_preload), in fake_preload_metadata() 415 ("Too many fake_preload items")); in fake_preload_metadata()