Home
last modified time | relevance | path

Searched refs:tc_offsets (Results 1 – 1 of 1) sorted by relevance

/xnu-10002.41.9/bsd/kern/ !
H A Dkern_trustcache.c762 trust_cache_offsets_t *tc_offsets = NULL; in load_static_trust_cache() local
793 tc_offsets = (void*)phystokv(tc_range->paddr); in load_static_trust_cache()
799 if (tc_offsets && tc_offsets->num_caches != 0) { in load_static_trust_cache()
801 tc_offsets->num_caches); in load_static_trust_cache()
806 } else if (tc_offsets->num_caches == 0) { in load_static_trust_cache()
813 if (os_mul_overflow(tc_offsets->num_caches, sizeof(uint32_t), &offsets_length)) { in load_static_trust_cache()
814 panic("overflow on the number of trust caches provided: %u", tc_offsets->num_caches); in load_static_trust_cache()
822 const uintptr_t tc_region_end = (uintptr_t)tc_offsets + tc_segment_length; in load_static_trust_cache()
824 printf("attempting to load %u external trust cache modules\n", tc_offsets->num_caches); in load_static_trust_cache()
826 for (uint32_t i = 0; i < tc_offsets->num_caches; i++) { in load_static_trust_cache()
[all …]