/trusted-firmware-a-3.7.0/plat/arm/common/ |
D | arm_io_storage.c | 124 const struct plat_io_policy *policy; in plat_get_image_source() local 126 policy = FCONF_GET_PROPERTY(arm, io_policies, image_id); in plat_get_image_source() 127 result = policy->check(policy->image_spec); in plat_get_image_source() 129 *image_spec = policy->image_spec; in plat_get_image_source() 130 *dev_handle = *(policy->dev_handle); in plat_get_image_source() 172 struct plat_io_policy *policy = FCONF_GET_PROPERTY(arm, in arm_set_image_source() local 176 assert(policy != NULL); in arm_set_image_source() 177 assert(policy->image_spec != 0UL); in arm_set_image_source() 179 io_block_spec_t *spec = (io_block_spec_t *)policy->image_spec; in arm_set_image_source() 184 *dev_handle = *(policy->dev_handle); in arm_set_image_source() [all …]
|
/trusted-firmware-a-3.7.0/plat/arm/board/corstone1000/common/ |
D | corstone1000_plat.c | 35 const struct plat_io_policy *policy; in set_fip_image_source() local 36 policy = FCONF_GET_PROPERTY(arm, io_policies, FIP_IMAGE_ID); in set_fip_image_source() 38 assert(policy != NULL); in set_fip_image_source() 39 assert(policy->image_spec != 0UL); in set_fip_image_source() 42 io_block_spec_t *spec = (io_block_spec_t *)policy->image_spec; in set_fip_image_source()
|
/trusted-firmware-a-3.7.0/plat/nxp/common/fip_handler/fuse_fip/ |
D | fuse_io_storage.c | 106 const struct plat_io_policy *policy; in plat_get_fuse_image_source() local 110 policy = &fuse_policies[image_id - FUSE_FIP_IMAGE_ID]; in plat_get_fuse_image_source() 113 result = check(policy->image_spec); in plat_get_fuse_image_source() 115 result = policy->check(policy->image_spec); in plat_get_fuse_image_source() 119 *image_spec = policy->image_spec; in plat_get_fuse_image_source() 120 *dev_handle = *(policy->dev_handle); in plat_get_fuse_image_source()
|
/trusted-firmware-a-3.7.0/plat/nxp/common/fip_handler/ddr_fip/ |
D | ddr_io_storage.c | 180 const struct plat_io_policy *policy; in plat_get_ddr_fip_image_source() local 186 policy = &ddr_policies[image_id - DDR_FIP_IMAGE_ID]; in plat_get_ddr_fip_image_source() 188 result = check(policy->image_spec); in plat_get_ddr_fip_image_source() 190 result = policy->check(policy->image_spec); in plat_get_ddr_fip_image_source() 193 *image_spec = policy->image_spec; in plat_get_ddr_fip_image_source() 194 *dev_handle = *(policy->dev_handle); in plat_get_ddr_fip_image_source()
|
/trusted-firmware-a-3.7.0/plat/renesas/common/ |
D | plat_storage.c | 386 const struct plat_io_policy *policy; in plat_get_image_source() local 389 policy = &policies[image_id]; in plat_get_image_source() 391 result = policy->check(policy->image_spec); in plat_get_image_source() 395 *image_spec = policy->image_spec; in plat_get_image_source() 396 *dev_handle = *(policy->dev_handle); in plat_get_image_source() 404 const struct plat_io_policy *policy; in plat_get_drv_source() local 407 policy = &drv_policies[io_drv_id]; in plat_get_drv_source() 409 result = policy->check(policy->image_spec); in plat_get_drv_source() 413 *image_spec = policy->image_spec; in plat_get_drv_source() 414 *dev_handle = *(policy->dev_handle); in plat_get_drv_source()
|
/trusted-firmware-a-3.7.0/plat/marvell/armada/common/ |
D | marvell_io_storage.c | 198 const struct plat_io_policy *policy; in plat_get_image_source() local 202 policy = &policies[image_id]; in plat_get_image_source() 203 result = policy->check(policy->image_spec); in plat_get_image_source() 205 *image_spec = policy->image_spec; in plat_get_image_source() 206 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/intel/soc/common/ |
D | socfpga_storage.c | 204 const struct plat_io_policy *policy; in plat_get_image_source() local 208 policy = &policies[image_id]; in plat_get_image_source() 209 result = policy->check(policy->image_spec); in plat_get_image_source() 212 *image_spec = policy->image_spec; in plat_get_image_source() 213 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/rpi/common/ |
D | rpi3_io_storage.c | 259 const struct plat_io_policy *policy; in plat_get_image_source() local 263 policy = &policies[image_id]; in plat_get_image_source() 264 result = policy->check(policy->image_spec); in plat_get_image_source() 266 *image_spec = policy->image_spec; in plat_get_image_source() 267 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/hisilicon/poplar/ |
D | plat_storage.c | 207 const struct plat_io_policy *policy; in plat_get_image_source() local 212 policy = &policies[image_id]; in plat_get_image_source() 213 result = policy->check(policy->image_spec); in plat_get_image_source() 216 *image_spec = policy->image_spec; in plat_get_image_source() 217 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/docs/resources/diagrams/plantuml/ |
D | io_dev_init_and_check.puml | 12 get BL2_IMAGE_ID policy: 16 opt policy->check() 37 get FIP_IMAGE_ID policy: 41 opt policy->check()
|
/trusted-firmware-a-3.7.0/plat/imx/common/ |
D | imx_io_storage.c | 260 const struct plat_io_policy *policy; in plat_get_image_source() local 264 policy = &policies[image_id]; in plat_get_image_source() 265 result = policy->check(policy->image_spec); in plat_get_image_source() 268 *image_spec = policy->image_spec; in plat_get_image_source() 269 *dev_handle = *policy->dev_handle; in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey/ |
D | hikey_io_storage.c | 303 const struct plat_io_policy *policy; in plat_get_image_source() local 307 policy = &policies[image_id]; in plat_get_image_source() 308 result = policy->check(policy->image_spec); in plat_get_image_source() 311 *image_spec = policy->image_spec; in plat_get_image_source() 312 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/qemu/common/ |
D | qemu_io_storage.c | 338 struct plat_io_policy policy; member 370 pkg->policy.dev_handle = &fip_dev_handle; in qemu_io_register_sp_pkg() 371 pkg->policy.image_spec = (uintptr_t)&pkg->uuid; in qemu_io_register_sp_pkg() 372 pkg->policy.check = open_fip; in qemu_io_register_sp_pkg() 402 return &sp_pkgs[image_id - SP_PKG1_ID].policy; in get_io_policy() 541 const struct plat_io_policy *policy = get_io_policy(image_id); in plat_get_image_source() local 544 result = policy->check(policy->image_spec); in plat_get_image_source() 546 *image_spec = policy->image_spec; in plat_get_image_source() 547 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/brcm/common/ |
D | brcm_io_storage.c | 377 const struct plat_io_policy *policy; in plat_get_image_source() local 385 policy = &boot_source_policies[boot_source]; in plat_get_image_source() 387 policy = &policies[image_id]; in plat_get_image_source() 389 result = policy->check(policy->image_spec); in plat_get_image_source() 391 *image_spec = policy->image_spec; in plat_get_image_source() 392 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/st/common/ |
D | bl2_io_storage.c | 589 const struct plat_io_policy *policy; in plat_get_image_source() local 591 policy = FCONF_GET_PROPERTY(stm32mp, io_policies, image_id); in plat_get_image_source() 592 rc = policy->check(policy->image_spec); in plat_get_image_source() 594 *image_spec = policy->image_spec; in plat_get_image_source() 595 *dev_handle = *(policy->dev_handle); in plat_get_image_source() 719 struct plat_io_policy *policy; in plat_set_image_source() local 724 policy = &policies[image_id]; in plat_set_image_source() 725 spec = (io_block_spec_t *)policy->image_spec; in plat_set_image_source() 765 *image_spec = policy->image_spec; in plat_set_image_source() 766 *handle = *policy->dev_handle; in plat_set_image_source()
|
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey960/ |
D | hikey960_io_storage.c | 361 const struct plat_io_policy *policy; in plat_get_image_source() local 365 policy = &policies[image_id]; in plat_get_image_source() 366 result = policy->check(policy->image_spec); in plat_get_image_source() 369 *image_spec = policy->image_spec; in plat_get_image_source() 370 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/plat/nxp/common/setup/ |
D | ls_io_storage.c | 529 const struct plat_io_policy *policy; in plat_get_image_source() local 533 policy = &policies[image_id]; in plat_get_image_source() 534 result = policy->check(policy->image_spec); in plat_get_image_source() 536 *image_spec = policy->image_spec; in plat_get_image_source() 537 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
|
/trusted-firmware-a-3.7.0/docs/process/ |
D | index.rst | 9 platform-ports-policy
|
D | platform-ports-policy.rst | 4 This document clarifies a couple of policy points around platform ports 7 Platform compatibility policy 35 Deprecation policy
|
/trusted-firmware-a-3.7.0/docs/design_documents/ |
D | context_mgmt_rework.rst | 38 from a centralized policy management by context management library will
|
/trusted-firmware-a-3.7.0/docs/threat_model/ |
D | threat_model.rst | 464 | | `TF-A error handling policy`_. TF-A provides an | 1109 .. _TF-A error handling policy: https://trustedfirmware-a.readthedocs.io/en/latest/process/coding-g…
|
/trusted-firmware-a-3.7.0/docs/components/ |
D | el3-spmc.rst | 408 - The NWd owns the platform PM policy.
|
D | exception-handling.rst | 592 The |EHF| doesn't enforce a particular prioritisation policy, but the platform
|
/trusted-firmware-a-3.7.0/docs/ |
D | porting-guide.rst | 40 Please refer to the :ref:`Platform Ports Policy` for the policy regarding 1183 In Arm platforms, this function is used to set an I/O policy of the FIP image, 1196 responsible for setting up the platform I/O policy of the requested metadata 1202 statically in I/O policy. 1207 the I/O policy of the FWU metadata image. 1212 Alongside, returns device handle and image specification from the I/O policy
|
/trusted-firmware-a-3.7.0/docs/design/ |
D | firmware-design.rst | 2128 Bootloader images are loaded according to the platform policy as specified by 2133 The Arm development platforms' policy is to only allow loading of a known set of 2134 images. The platform policy can be modified to allow additional images.
|