/hafnium-2.8-rc0/src/ |
A D | init.c | 39 static struct mpool ppool; 55 mpool_init(&ppool, MM_PPOOL_ENTRY_SIZE); in one_time_init_mm() 58 if (!mm_init(&ppool)) { in one_time_init_mm() 89 &ppool)) { in one_time_init() 134 &ppool); in one_time_init() 154 &ppool)) { in one_time_init() 161 &ppool)) { in one_time_init() 166 &ppool)) { in one_time_init() 171 manifest_deinit(&ppool); in one_time_init() 179 plat_ffa_init(&ppool); in one_time_init() [all …]
|
A D | mm_test.cc | 89 struct mpool ppool; member in __anon6cfc67680111::mm 102 mm_vm_fini(&ptable, &ppool); in TEST_F() 173 &ppool, &ipa)); in TEST_F() 352 &ppool, &ipa)); in TEST_F() 506 &ppool)); in TEST_F() 552 mode, &ppool)); in TEST_F() 554 &ppool)); in TEST_F() 624 &ppool)); in TEST_F() 626 &ppool)); in TEST_F() 833 &ppool)); in TEST_F() [all …]
|
A D | mm.c | 196 mpool_free(ppool, table); in mm_free_page_pte() 551 ppool)) { in mm_ptable_identity_update() 711 ppool, id); in mm_ptable_defrag_entry() 879 flags, ppool); in mm_identity_prepare() 894 ppool); in mm_identity_commit() 912 flags, ppool); in mm_vm_identity_prepare() 927 ppool); in mm_vm_identity_commit() 953 ppool); in mm_vm_identity_map() 967 struct mpool *ppool) in mm_vm_unmap() argument 1074 ppool)) { in mm_identity_map() [all …]
|
A D | sp_pkg.c | 27 struct mpool *ppool) in sp_pkg_init_v1() argument 60 MM_MODE_R, ppool)); in sp_pkg_init_v1() 73 struct mpool *ppool) in sp_pkg_init_v2() argument 111 MM_MODE_R | MM_MODE_W, ppool) != NULL); in sp_pkg_init_v2() 116 ppool)); in sp_pkg_init_v2() 127 struct sp_pkg_header *header, struct mpool *ppool) in sp_pkg_init() argument 134 ppool); in sp_pkg_init() 147 if (sp_pkg_init_v1(stage1_locked, pkg_start, header, ppool)) { in sp_pkg_init() 161 CHECK(mm_unmap(stage1_locked, pkg_start, pkg_end, ppool)); in sp_pkg_init() 170 struct sp_pkg_header *header, struct mpool *ppool) in sp_pkg_deinit() argument [all …]
|
A D | load.c | 107 struct mpool *ppool) in link_rxtx_to_mailbox() argument 119 page_count, ppool); in link_rxtx_to_mailbox() 156 struct mpool *ppool) in load_common() argument 196 ppool)) { in load_common() 245 ppool)) { in load_common() 590 ppool)) { in ffa_map_memory_regions() 640 ppool)) { in ffa_map_memory_regions() 708 manifest_vm, ppool); in load_secondary() 783 ppool, NULL)); in load_secondary() 786 ppool)); in load_secondary() [all …]
|
A D | fdt_handler_test.cc | 89 struct mpool ppool; in TEST() local 92 mpool_init(&ppool, sizeof(struct mm_page_table)); in TEST() 93 mpool_add_chunk(&ppool, test_heap.get(), TEST_HEAP_SIZE); in TEST() 94 mm_init(&ppool); in TEST() 102 pa_init((uintpaddr_t)&test_dtb), &ppool)); in TEST() 105 ASSERT_TRUE(fdt_unmap(&fdt, mm_stage1_locked, &ppool)); in TEST()
|
A D | vm.c | 47 ppool); in vm_init_mm() 306 mode, ppool); in vm_identity_prepare() 309 ppool); in vm_identity_prepare() 322 ppool); in vm_identity_commit() 334 ppool, ipa); in vm_identity_commit() 372 ppool) && in vm_unmap_hypervisor() 374 ppool) && in vm_unmap_hypervisor() 376 ppool) && in vm_unmap_hypervisor() 378 ppool); in vm_unmap_hypervisor() 463 CHECK(ppool != NULL); in vm_notifications_init_per_vcpu_notifications() [all …]
|
A D | fdt_patch.c | 52 struct boot_params_update *p, struct mpool *ppool) in fdt_patch() argument 64 ppool); in fdt_patch() 79 ppool); in fdt_patch() 150 ppool)) { in fdt_patch() 158 ppool); in fdt_patch() 164 struct mpool *ppool) in fdt_patch_mem() argument 176 MM_MODE_R | MM_MODE_W, ppool); in fdt_patch_mem() 240 ppool)) { in fdt_patch_mem()
|
A D | fdt_handler.c | 174 paddr_t fdt_addr, struct mpool *ppool) in fdt_map() argument 182 MM_MODE_R, ppool); in fdt_map() 195 pa_add(fdt_addr, fdt_len), MM_MODE_R, ppool); in fdt_map() 209 mm_unmap(stage1_locked, fdt_addr, pa_add(fdt_addr, fdt_len), ppool); in fdt_map() 214 ppool); in fdt_map() 219 struct mpool *ppool) in fdt_unmap() argument 224 if (!mm_unmap(stage1_locked, begin, end, ppool)) { in fdt_unmap()
|
/hafnium-2.8-rc0/inc/hf/ |
A D | mm.h | 111 struct mpool *ppool); 115 void mm_vm_fini(struct mm_ptable *t, struct mpool *ppool); 118 uint32_t mode, struct mpool *ppool); 120 uint32_t mode, struct mpool *ppool); 123 uint32_t mode, struct mpool *ppool, ipaddr_t *ipa); 125 uint32_t mode, struct mpool *ppool); 127 uint32_t mode, struct mpool *ppool, ipaddr_t *ipa); 129 struct mpool *ppool); 142 paddr_t end, uint32_t mode, struct mpool *ppool); 144 struct mpool *ppool); [all …]
|
A D | vm.h | 257 struct mpool *ppool, bool el0_partition); 258 bool vm_init_next(ffa_vcpu_count_t vcpu_count, struct mpool *ppool, 273 uint32_t mode, struct mpool *ppool, ipaddr_t *ipa); 275 uint32_t mode, struct mpool *ppool); 277 uint32_t mode, struct mpool *ppool, ipaddr_t *ipa); 279 struct mpool *ppool); 280 void vm_ptable_defrag(struct vm_locked vm_locked, struct mpool *ppool); 281 bool vm_unmap_hypervisor(struct vm_locked vm_locked, struct mpool *ppool); 290 struct mpool *ppool);
|
A D | fdt_patch.h | 17 struct boot_params_update *p, struct mpool *ppool); 22 struct mpool *ppool);
|
A D | fdt_handler.h | 22 paddr_t fdt_addr, struct mpool *ppool); 24 struct mpool *ppool);
|
A D | sp_pkg.h | 52 struct sp_pkg_header *header, struct mpool *ppool); 55 struct sp_pkg_header *header, struct mpool *ppool);
|
/hafnium-2.8-rc0/src/iommu/ |
A D | absent.c | 12 struct mm_stage1_locked stage1_locked, struct mpool *ppool) in plat_iommu_init() argument 16 (void)ppool; in plat_iommu_init() 21 bool plat_iommu_unmap_iommus(struct vm_locked vm_locked, struct mpool *ppool) in plat_iommu_unmap_iommus() argument 24 (void)ppool; in plat_iommu_unmap_iommus() 41 struct mpool *ppool) in plat_iommu_attach_peripheral() argument 46 (void)ppool; in plat_iommu_attach_peripheral()
|
/hafnium-2.8-rc0/test/hftest/ |
A D | mm.c | 29 static struct mpool ppool; variable 39 return &ppool; in hftest_mm_get_ppool() 51 mpool_init(&ppool, sizeof(struct mm_page_table)); in hftest_mm_init() 52 if (!mpool_add_chunk(&ppool, ptable_buf, sizeof(ptable_buf))) { in hftest_mm_init() 56 if (!mm_ptable_init(&ptable, 0, MM_FLAG_STAGE1, &ppool)) { in hftest_mm_init() 64 MM_MODE_R | MM_MODE_W | MM_MODE_X, &ppool); in hftest_mm_init() 77 if (mm_identity_map(stage1_locked, start, end, mode, &ppool) != base) { in hftest_mm_identity_map()
|
/hafnium-2.8-rc0/src/arch/aarch64/hypervisor/ |
A D | arch_init.c | 29 struct mpool *ppool) in arch_stack_mm_init() argument 34 MM_MODE_R | MM_MODE_W | MM_MODE_T, ppool); in arch_stack_mm_init() 38 ppool); in arch_stack_mm_init()
|
A D | other_world.c | 20 bool arch_other_world_vm_init(struct vm *other_world_vm, struct mpool *ppool) in arch_other_world_vm_init() argument 31 ppool, NULL)) { in arch_other_world_vm_init()
|
/hafnium-2.8-rc0/inc/hf/plat/ |
A D | iommu.h | 23 struct mpool *ppool); 33 bool plat_iommu_unmap_iommus(struct vm_locked vm_locked, struct mpool *ppool); 70 struct mpool *ppool);
|
/hafnium-2.8-rc0/src/boot_flow/ |
A D | spmc.c | 56 struct memiter *cpio, struct mpool *ppool) in plat_boot_flow_update() argument 62 (void)ppool; in plat_boot_flow_update()
|
A D | common.c | 41 struct mpool *ppool) in boot_flow_update() argument 43 return plat_boot_flow_update(stage1_locked, manifest, p, cpio, ppool); in boot_flow_update()
|
A D | linux.c | 49 struct memiter *cpio, struct mpool *ppool) in plat_boot_flow_update() argument 67 ppool); in plat_boot_flow_update()
|
/hafnium-2.8-rc0/src/arch/aarch64/plat/interrupts/ |
A D | absent.c | 14 struct mpool *ppool) in plat_interrupts_controller_driver_init() argument 18 (void)ppool; in plat_interrupts_controller_driver_init()
|
/hafnium-2.8-rc0/inc/hf/arch/ |
A D | init.h | 28 struct mpool *ppool);
|
/hafnium-2.8-rc0/src/arch/aarch64/pl011/ |
A D | pl011.c | 90 struct mpool *ppool) in plat_console_mm_init() argument 95 MM_MODE_R | MM_MODE_W | MM_MODE_D, ppool); in plat_console_mm_init()
|