Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/kern/
H A Dkern_trustcache.c1171 trust_cache_offsets_t *tc_offsets = NULL; in load_static_trust_cache() local
1196 tc_offsets = (void*)phystokv(tc_range->paddr); in load_static_trust_cache()
1202 if (tc_offsets && tc_offsets->num_caches != 0) { in load_static_trust_cache()
1204 tc_offsets->num_caches); in load_static_trust_cache()
1209 } else if (tc_offsets->num_caches == 0) { in load_static_trust_cache()
1216 if (os_mul_overflow(tc_offsets->num_caches, sizeof(uint32_t), &offsets_length)) { in load_static_trust_cache()
1217 panic("overflow on the number of trust caches provided: %u", tc_offsets->num_caches); in load_static_trust_cache()
1225 const uintptr_t tc_region_end = (uintptr_t)tc_offsets + tc_segment_length; in load_static_trust_cache()
1227 printf("attempting to load %u external trust cache modules\n", tc_offsets->num_caches); in load_static_trust_cache()
1229 for (uint32_t i = 0; i < tc_offsets->num_caches; i++) { in load_static_trust_cache()
[all …]