/optee_os/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 …]
|
A D | link.mk | 24 link-ldflags += -T $(link-script-pp) -Map=$(link-out-dir)/tee.map 171 cleanfiles += $(link-out-dir)/tee.elf $(link-out-dir)/tee.map
|
/optee_os/core/arch/arm/mm/ |
A D | core_mmu.c | 208 return (pa >= map->pa && end_pa <= map->pa + map->size - 1); in pa_is_in_map() 215 return (va >= map->va && va <= (map->va + map->size - 1)); in va_is_in_map() 255 if ((a >= map->va) && (a <= (map->va - 1 + map->size))) in find_map_by_va() 267 if ((pa >= map->pa) && (pa <= (map->pa + map->size - 1))) in find_map_by_pa() 345 map->pa, map->size)) { in check_phys_mem_is_outside() 349 map->type, map->pa, map->size); in check_phys_mem_is_outside() 728 (paddr_t)(map->pa + map->size - 1), map->size, in dump_mmap_table() 939 for (map = memory_map; !core_mmap_is_end_of_table(map); map++) in assign_mem_va() 1072 for (map = memory_map; !core_mmap_is_end_of_table(map); map++) in mem_map_add_id_map() 1381 *e = map->va + map->size; in core_mmu_get_mem_by_type() [all …]
|
A D | core_mmu_lpae.c | 950 map->asid = uctx->vm_info.asid; in core_mmu_create_user_map() 1143 map->user_map = *entry; in core_mmu_get_user_map() 1144 if (map->user_map) { in core_mmu_get_user_map() 1148 map->asid = 0; in core_mmu_get_user_map() 1170 if (map && map->user_map) { in core_mmu_set_user_map() 1172 *entries[i] = map->user_map; in core_mmu_set_user_map() 1229 map->user_map = *entry; in core_mmu_get_user_map() 1230 if (map->user_map) { in core_mmu_get_user_map() 1234 map->asid = 0; in core_mmu_get_user_map() 1256 if (map && map->user_map) { in core_mmu_set_user_map() [all …]
|
A D | core_mmu_v7.c | 490 struct core_mmu_user_map *map) in core_mmu_create_user_map() argument 499 map->ttbr0 = core_mmu_get_ul1_ttb_pa(get_prtn()) | in core_mmu_create_user_map() 501 map->ctxid = uctx->vm_info.asid; in core_mmu_create_user_map() 646 void core_mmu_get_user_map(struct core_mmu_user_map *map) in core_mmu_get_user_map() argument 648 map->ttbr0 = read_ttbr0(); in core_mmu_get_user_map() 649 map->ctxid = read_contextidr(); in core_mmu_get_user_map() 652 void core_mmu_set_user_map(struct core_mmu_user_map *map) in core_mmu_set_user_map() argument 664 if (map) { in core_mmu_set_user_map() 665 write_ttbr0(map->ttbr0); in core_mmu_set_user_map() 667 write_contextidr(map->ctxid); in core_mmu_set_user_map()
|
/optee_os/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() 124 map.va = (vaddr_t)phys_to_virt(map.pa, MEM_AREA_TEE_COHERENT, in pm_imx7_iram_tbl_init() 126 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() 127 map.size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() 128 map.type = MEM_AREA_TEE_COHERENT; in pm_imx7_iram_tbl_init() 132 map.pa = GIC_BASE; in pm_imx7_iram_tbl_init() 134 map.region_size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() 135 map.size = CORE_MMU_PGDIR_SIZE; in pm_imx7_iram_tbl_init() [all …]
|
/optee_os/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/core/lib/libtomcrypt/src/misc/base32/ |
A D | base32_decode.c | 32 const unsigned char *map; in base32_decode() local 89 map = tables[id]; in base32_decode() 94 if (c < '0' || c > 'Z' || map[c-'0'] > 31) { in base32_decode() 97 t = (t<<5) | map[c-'0']; in base32_decode()
|
/optee_os/core/lib/libtomcrypt/src/misc/base64/ |
A D | base64_decode.c | 87 const unsigned char *map, int mode) in _base64_decode_internal() argument 102 c = map[(unsigned char)in[x]&0xFF]; in _base64_decode_internal() 137 if (((y + g) != 4) && (mode == strict) && (map != map_base64url)) return CRYPT_INVALID_PACKET; in _base64_decode_internal()
|
/optee_os/core/arch/arm/dts/ |
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 | 938 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ 940 interrupt-map-mask = <0 0 0 7>; 975 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ 977 interrupt-map-mask = <0 0 0 7>; 1012 iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ 1014 interrupt-map-mask = <0 0 0 7>; 1052 interrupt-map-mask = <0 0 0 7>; 1089 interrupt-map-mask = <0 0 0 7>; 1127 interrupt-map-mask = <0 0 0 7>; 1254 /* iommu-map property is fixed up by u-boot */ [all …]
|
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;
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | ecc.c | 156 } map[] = { in ecc_prepare_msg() local 165 for (i = 0; i < ARRAY_SIZE(map); i++) { in ecc_prepare_msg() 166 if (algo == map[i].algo) in ecc_prepare_msg() 170 if (i >= ARRAY_SIZE(map)) in ecc_prepare_msg() 173 if (*msg_len >= map[i].len) { in ecc_prepare_msg() 175 *msg_len = map[i].len; in ecc_prepare_msg() 180 *msg_padded = calloc(1, map[i].len); in ecc_prepare_msg() 185 *msg_len = map[i].len; in ecc_prepare_msg()
|
/optee_os/core/arch/arm/plat-stm/ |
A D | .gitignore | 1 System.map
|
/optee_os/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/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_mulmod_timing.c | 32 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument 139 if (map) { in ltc_ecc_mulmod()
|
A D | ltc_ecc_mulmod.c | 33 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map) in ltc_ecc_mulmod() argument 189 if (map) { in ltc_ecc_mulmod()
|
/optee_os/core/mm/ |
A D | mobj.c | 144 struct tee_mmap_region *map = NULL; in mobj_phys_init() local 155 map = core_mmu_find_mapping_exclusive(area_type, size); in mobj_phys_init() 156 if (!map) in mobj_phys_init() 159 pa = map->pa; in mobj_phys_init() 160 va = (void *)map->va; in mobj_phys_init()
|
/optee_os/core/arch/arm/include/mm/ |
A D | core_mmu.h | 447 struct core_mmu_user_map *map); 452 void core_mmu_get_user_map(struct core_mmu_user_map *map); 461 void core_mmu_set_user_map(struct core_mmu_user_map *map);
|
/optee_os/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/out/arm/export-ta_arm32/mk/ |
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/out/arm/export-ta_arm64/mk/ |
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/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 779 static int _accel_fp_mul(int idx, void *k, ecc_point *R, void *a, void *modulus, void *mp, int map) in _accel_fp_mul() argument 892 if (map) { in _accel_fp_mul() 1229 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 1281 err = _accel_fp_mul(idx, k, R, a, modulus, mp, map); in ltc_ecc_fp_mulmod() 1283 err = ltc_ecc_mulmod(k, G, R, a, modulus, map); in ltc_ecc_fp_mulmod()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_math.h | 396 int map);
|
A D | tomcrypt_private.h | 286 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map); 299 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
|