| /rk3399_ARM-atf/include/lib/ |
| H A D | utils_def.h | 133 * The round_up() macro rounds up a value to the given boundary in a 134 * type-agnostic yet type-safe manner. The boundary must be a power of two. 135 * In other words, it computes the smallest multiple of boundary which is 140 #define round_boundary(value, boundary) \ argument 141 ((__typeof__(value))((boundary) - ((__typeof__(value))1U))) 143 #define round_up(value, boundary) \ argument 144 ((((value) - ((__typeof__(value))1U)) | round_boundary(value, boundary)) + ((__typeof__(value))1U)) 146 #define round_down(value, boundary) \ argument 147 ((value) & ~round_boundary(value, boundary)) 185 * Helper macro to ensure a value lies on a given boundary 187 is_aligned(value,boundary) global() argument [all...] |
| /rk3399_ARM-atf/plat/rockchip/common/drivers/parameter/ |
| H A D | ddr_parameter.c | 68 p.boundary = max_mb; in ddr_region_usage_parse() 120 if (p.ns_top[i] == p.boundary) in ddr_region_usage_parse() 130 p.s_top[p.s_nr] = p.boundary; in ddr_region_usage_parse()
|
| H A D | ddr_parameter.h | 31 uint64_t boundary; member
|
| /rk3399_ARM-atf/docs/resources/diagrams/plantuml/ |
| H A D | tfa_dfd.puml | 24 # Nodes outside of the trust boundary 31 # Trust boundary cluster
|
| H A D | el3_spm_dfd.puml | 23 # Nodes outside of the trust boundary 28 # Trust boundary cluster
|
| H A D | spm_dfd.puml | 21 # Nodes outside of the trust boundary 25 # Trust boundary cluster
|
| H A D | tfa_rse_dfd.puml | 24 # Nodes outside of the trust boundary 32 # Trust boundary cluster
|
| H A D | tfa_arm_cca_dfd.puml | 24 # Nodes outside of the trust boundary 32 # Trust boundary cluster
|
| /rk3399_ARM-atf/drivers/brcm/emmc/ |
| H A D | emmc_chal_sd.c | 69 static void chal_sd_set_dma_boundary(struct sd_dev *handle, uint32_t boundary); 159 static void chal_sd_set_dma_boundary(struct sd_dev *handle, uint32_t boundary) in chal_sd_set_dma_boundary() argument 166 SD4_EMMC_TOP_BLOCK_HSBS_MASK, boundary); in chal_sd_set_dma_boundary() 953 uint32_t boundary, uint32_t blkSize, uint32_t dma) in chal_sd_config() argument 964 handle->cfg.dmaBoundary = boundary; in chal_sd_config() 969 chal_sd_set_dma_boundary(handle, boundary); in chal_sd_config()
|
| /rk3399_ARM-atf/plat/nvidia/tegra/scat/ |
| H A D | bl31.scat | 20 /* BL31_BASE address must be aligned on a page boundary. */ 219 * CACHE_WRITEBACK_GRANULE boundary
|
| /rk3399_ARM-atf/include/drivers/brcm/emmc/ |
| H A D | emmc_chal_sd.h | 172 uint32_t retry, uint32_t boundary,
|
| /rk3399_ARM-atf/docs/threat_model/firmware_threat_model/ |
| H A D | threat_model_fw_update_and_recovery.rst | 59 outside of TF-A security boundary or for a physical attacker to modify it
|
| H A D | threat_model.rst | 416 | | lack of boundary checking when accessing resources | 426 | | buffer overflow, incorrect array boundary checks, | 967 attestation. However, these are outside the |TF-A| security boundary and
|
| /rk3399_ARM-atf/docs/tools/ |
| H A D | memory-layout-tool.rst | 380 alignments, such as a 4KB page boundary, and excluding that padding can provide
|
| /rk3399_ARM-atf/docs/design/ |
| H A D | firmware-design.rst | 1692 boundary. Refer to the value of ``__<SECTION>_UNALIGNED_END__`` to know the 1705 …right boundary. In other words, ``__<SECTION>_SIZE__ = __<SECTION>_END__ - _<SECTION>_START__``. R… 1739 - ``__COHERENT_RAM_START__`` Must be aligned on a page-size boundary. 1740 - ``__COHERENT_RAM_END__`` Must be aligned on a page-size boundary. 1764 aligned on a 16-byte boundary. 1766 copied over. Must be aligned on a 16-byte boundary. 2439 +-------------------+ Page boundary 2443 +-------------------+ 2 KB boundary 2459 However, the read-only data are not aligned on a page boundary. They are 2484 +-------------------+ Page boundary [all …]
|
| /rk3399_ARM-atf/docs/ |
| H A D | porting-guide.rst | 82 page boundary (4K) for each BL stage. All sections which allocate coherent 198 aligned on a page-size boundary. 208 at runtime. Must be aligned on a page-size boundary. 218 Must be aligned on a page-size boundary. This constant is not applicable 229 lives. Must be aligned on a page-size boundary. This constant is only needed 241 at runtime. Must be aligned on a page-size boundary. This constant is only 253 image. Must be aligned on a page-size boundary. 328 image. Must be aligned on a page-size boundary. 356 Must be aligned on a page-size boundary. 372 Must be aligned on a page-size boundary. [all …]
|
| H A D | change-log.md | 4112 …- check that .text section starts at page boundary ([3d6edc3](https://review.trustedfirmware.org/p… 5644 …- change the FIP offset to 8 KiB boundary ([d07b8aa](https://review.trustedfirmware.org/plugins/gi…
|
| /rk3399_ARM-atf/docs/process/ |
| H A D | coding-style.rst | 73 except in the case where a term is being indented to a boundary that cannot be
|
| H A D | coding-guidelines.rst | 362 member crosses a 32-bit boundary.
|