/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | virtualization.c | 99 if (!map) in prepare_memory_map() 102 memcpy(map, kmemory_map, sizeof(*map) * entries); in prepare_memory_map() 108 map[i].attr = core_mmu_type_to_attr(map[i].type); in prepare_memory_map() 111 if (map[i].va + map[i].size > max_va) in prepare_memory_map() 112 max_va = map[i].va + map[i].size; in prepare_memory_map() 117 map[entries] = map[entries - 1]; in prepare_memory_map() 132 map[i].region_size, map[i].pa, map[i].va, in prepare_memory_map() 133 map[i].size, map[i].attr); in prepare_memory_map() 134 return map; in prepare_memory_map() 151 for (map = memory_map; map->type != MEM_AREA_END; map++) { in virt_init_memory() [all …]
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 196 return (pa >= map->pa && end_pa <= map->pa + map->size - 1); in pa_is_in_map() 203 return (va >= map->va && va <= (map->va + map->size - 1)); in va_is_in_map() 217 for (map = get_memory_map(); !core_mmap_is_end_of_table(map); map++) in find_map_by_type() 243 if (a >= map->va && a <= (map->va - 1 + map->size)) in find_map_by_va() 255 if (pa >= map->pa && pa <= (map->pa + map->size - 1)) in find_map_by_pa() 383 map->pa, map->size)) { in check_phys_mem_is_outside() 387 map->type, map->pa, map->size); in check_phys_mem_is_outside() 804 (paddr_t)(map->pa + map->size - 1), map->size, in dump_mmap_table() 1011 for (map = memory_map; !core_mmap_is_end_of_table(map); map++) in assign_mem_va_dir() 1491 *e = map->va + map->size; in core_mmu_get_mem_by_type() [all …]
|
A D | mobj.c | 145 struct tee_mmap_region *map = NULL; in mobj_phys_init() local 156 map = core_mmu_find_mapping_exclusive(area_type, size); in mobj_phys_init() 157 if (!map) in mobj_phys_init() 160 pa = map->pa; in mobj_phys_init() 161 va = (void *)map->va; in mobj_phys_init()
|
/optee_os-3.20.0/core/arch/arm/plat-imx/pm/ |
A D | pm-imx7.c | 95 struct tee_mmap_region map; in pm_imx7_iram_tbl_init() local 110 map.pa = phys_addr[i]; in pm_imx7_iram_tbl_init() 115 map.type = MEM_AREA_IO_SEC; in pm_imx7_iram_tbl_init() 125 map.va = (vaddr_t)phys_to_virt(map.pa, MEM_AREA_TEE_COHERENT, in pm_imx7_iram_tbl_init() 127 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() 128 map.size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() 129 map.type = MEM_AREA_TEE_COHERENT; in pm_imx7_iram_tbl_init() 133 map.pa = GIC_BASE; in pm_imx7_iram_tbl_init() 135 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() 136 map.size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() [all …]
|
/optee_os-3.20.0/core/lib/zlib/ |
A D | zconf.h | 529 #pragma map(deflateInit_,"DEIN") 530 #pragma map(deflateInit2_,"DEIN2") 531 #pragma map(deflateEnd,"DEEND") 532 #pragma map(deflateBound,"DEBND") 533 #pragma map(inflateInit_,"ININ") 534 #pragma map(inflateInit2_,"ININ2") 535 #pragma map(inflateEnd,"INEND") 536 #pragma map(inflateSync,"INSY") 538 #pragma map(compressBound,"CMBND") 539 #pragma map(inflate_table,"INTABL") [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base32/ |
A D | base32_decode.c | 25 const unsigned char *map; in base32_decode() local 82 map = tables[id]; in base32_decode() 87 if (c < '0' || c > 'Z' || map[c-'0'] > 31) { in base32_decode() 90 t = (t<<5) | map[c-'0']; in base32_decode()
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | core_mmu_lpae.c | 986 map->asid = uctx->vm_info.asid; in core_mmu_create_user_map() 1179 map->user_map = *entry; in core_mmu_get_user_map() 1180 if (map->user_map) { in core_mmu_get_user_map() 1184 map->asid = 0; in core_mmu_get_user_map() 1206 if (map && map->user_map) { in core_mmu_set_user_map() 1208 *entries[i] = map->user_map; in core_mmu_set_user_map() 1265 map->user_map = *entry; in core_mmu_get_user_map() 1266 if (map->user_map) { in core_mmu_get_user_map() 1270 map->asid = 0; in core_mmu_get_user_map() 1292 if (map && map->user_map) { in core_mmu_set_user_map() [all …]
|
A D | core_mmu_v7.c | 509 struct core_mmu_user_map *map) in core_mmu_create_user_map() argument 518 map->ttbr0 = core_mmu_get_ul1_ttb_pa(get_prtn()) | in core_mmu_create_user_map() 520 map->ctxid = uctx->vm_info.asid; in core_mmu_create_user_map() 665 void core_mmu_get_user_map(struct core_mmu_user_map *map) in core_mmu_get_user_map() argument 667 map->ttbr0 = read_ttbr0(); in core_mmu_get_user_map() 668 map->ctxid = read_contextidr(); in core_mmu_get_user_map() 671 void core_mmu_set_user_map(struct core_mmu_user_map *map) in core_mmu_set_user_map() argument 683 if (map) { in core_mmu_set_user_map() 684 write_ttbr0(map->ttbr0); in core_mmu_set_user_map() 686 write_contextidr(map->ctxid); in core_mmu_set_user_map()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base64/ |
A D | base64_decode.c | 80 const unsigned char *map, int mode) in s_base64_decode_internal() argument 95 c = map[(unsigned char)in[x]&0xFF]; in s_base64_decode_internal() 130 if (((y + g) != 4) && (mode == strict) && (map != map_base64url)) return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
|
/optee_os-3.20.0/core/arch/arm/dts/ |
A D | stm32mp15xx-dhcor-som.dtsi | 32 no-map; 38 no-map; 44 no-map; 50 no-map; 56 no-map; 62 no-map;
|
A D | hikey.dts | 18 no-map;
|
A D | stm32mp157c-ed1.dts | 36 no-map; 42 no-map; 48 no-map; 54 no-map; 60 no-map; 66 no-map; 71 no-map;
|
A D | fsl-lx2160a.dtsi | 950 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ 952 interrupt-map-mask = <0 0 0 7>; 987 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ 989 interrupt-map-mask = <0 0 0 7>; 1024 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ 1026 interrupt-map-mask = <0 0 0 7>; 1064 interrupt-map-mask = <0 0 0 7>; 1101 interrupt-map-mask = <0 0 0 7>; 1139 interrupt-map-mask = <0 0 0 7>; 1266 /* iommu-map property is fixed up by u-boot */ [all …]
|
A D | stm32mp15xx-dhcom-som.dtsi | 33 no-map; 39 no-map; 45 no-map; 51 no-map; 57 no-map; 63 no-map;
|
A D | stm32mp15xx-dkx.dtsi | 24 no-map; 30 no-map; 36 no-map; 42 no-map; 48 no-map; 54 no-map; 59 no-map;
|
A D | stm32mp135f-dk.dts | 40 no-map;
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | ecc.c | 198 } map[] = { in ecc_prepare_msg() local 207 for (i = 0; i < ARRAY_SIZE(map); i++) { in ecc_prepare_msg() 208 if (algo == map[i].algo) in ecc_prepare_msg() 212 if (i >= ARRAY_SIZE(map)) in ecc_prepare_msg() 215 if (*msg_len >= map[i].len) { in ecc_prepare_msg() 217 *msg_len = map[i].len; in ecc_prepare_msg() 222 *msg_padded = calloc(1, map[i].len); in ecc_prepare_msg() 227 *msg_len = map[i].len; in ecc_prepare_msg()
|
/optee_os-3.20.0/ldelf/ |
A D | link.mk | 11 cleanfiles += $(link-out-dir$(sm))/ldelf.map 17 link-ldflags += -Map=$(link-out-dir$(sm))/ldelf.map
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_mulmod_timing.c | 25 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument 132 if (map) { in ltc_ecc_mulmod()
|
A D | ltc_ecc_mulmod.c | 26 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument 182 if (map) { in ltc_ecc_mulmod()
|
/optee_os-3.20.0/core/include/mm/ |
A D | core_mmu.h | 347 struct core_mmu_user_map *map); 352 void core_mmu_get_user_map(struct core_mmu_user_map *map); 361 void core_mmu_set_user_map(struct core_mmu_user_map *map);
|
/optee_os-3.20.0/ta/arch/arm/ |
A D | link.mk | 24 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).map 31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map
|
/optee_os-3.20.0/core/arch/riscv/kernel/ |
A D | link.mk | 16 link-ldflags += -T $(link-script-pp) -Map=$(link-out-dir)/tee.map 98 cleanfiles += $(link-out-dir)/tee.elf $(link-out-dir)/tee.map
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_math.h | 389 int map);
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 772 static int s_accel_fp_mul(int idx, void *k, ecc_point *R, void *a, void *modulus, void *mp, int map) in s_accel_fp_mul() argument 885 if (map) { in s_accel_fp_mul() 1222 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_fp_mulmod() argument 1274 err = s_accel_fp_mul(idx, k, R, a, modulus, mp, map); in ltc_ecc_fp_mulmod() 1276 err = ltc_ecc_mulmod(k, G, R, a, modulus, map); in ltc_ecc_fp_mulmod()
|