Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/kern/
H A Dkern_trustcache.c993 trust_cache_offsets_t *tc_offsets = NULL; in load_static_trust_cache() local
1024 tc_offsets = (void*)phystokv(tc_range->paddr); in load_static_trust_cache()
1030 if (tc_offsets && tc_offsets->num_caches != 0) { in load_static_trust_cache()
1032 tc_offsets->num_caches); in load_static_trust_cache()
1037 } else if (tc_offsets->num_caches == 0) { in load_static_trust_cache()
1044 if (os_mul_overflow(tc_offsets->num_caches, sizeof(uint32_t), &offsets_length)) { in load_static_trust_cache()
1045 panic("overflow on the number of trust caches provided: %u", tc_offsets->num_caches); in load_static_trust_cache()
1053 const uintptr_t tc_region_end = (uintptr_t)tc_offsets + tc_segment_length; in load_static_trust_cache()
1055 printf("attempting to load %u external trust cache modules\n", tc_offsets->num_caches); in load_static_trust_cache()
1057 for (uint32_t i = 0; i < tc_offsets->num_caches; i++) { in load_static_trust_cache()
[all …]