Home
last modified time | relevance | path

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

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