arm-trusted-firmware/lib
Antonio Nino Diaz 9056f10806 xlat v2: Support mapping regions with allocated VA
Provide new APIs to add new regions without specifying the base VA.

- `mmap_add_region_alloc_va` adds a static region to mmap choosing as
  base VA the first possible address after all the currently mapped
  regions. It is aligned to an appropriate boundary in relation to the
  size and base PA of the requested region. No attempt is made to fill
  any unused VA holes.

- `mmap_add_dynamic_region_alloc_va` it adds a region the same way as
  `mmap_add_region_alloc_va` does, but it's dynamic instead of static.

- `mmap_add_alloc_va` takes an array of non const `mmap_region_t`,
  maps them in the same way as `mmap_add_region_alloc_va` and fills
  their `base_va` field. A helper macro has been created to help create
  the array, called `MAP_REGION_ALLOC_VA`.

Change-Id: I5ef3f82ca0dfd0013d2e8034aa22f13ca528ba37
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-11-22 13:29:45 +00:00
..
aarch32 libc: armclang: Implement compiler printf symbols 2018-08-22 10:26:05 +01:00
aarch64 PIE: Position Independant Executable support for BL31 2018-10-29 09:54:32 +00:00
compiler-rt compiler_rt: Import lshrdi3.c file 2018-11-06 15:42:51 +01:00
coreboot coreboot: Add support for CBMEM console 2018-01-19 15:21:12 -08:00
cpus Fix MISRA defects in workaround and errata framework 2018-10-29 14:41:48 +00:00
el3_runtime context_mgmt: Fix MISRA defects 2018-11-01 14:15:39 +00:00
extensions Fix MISRA defects in extension libs 2018-10-29 14:41:48 +00:00
libc libc: Adapt strlcpy to this codebase 2018-11-02 13:41:33 +00:00
libfdt libfdt: Downgrade to version 1.4.6-9 2018-10-30 13:42:13 +00:00
locks bakery: Fix MISRA defects 2018-11-01 14:15:39 +00:00
optee Fixed ARM-software/tf-issues#603 2018-08-23 14:44:18 -06:00
pmf Fix MISRA defects in PMF 2018-10-29 14:42:39 +00:00
psci Merge pull request #1624 from glneo/less-cache-flushing 2018-10-12 14:16:57 +01:00
romlib PIE: Use PC relative adrp/adr for symbol reference 2018-10-29 09:54:31 +00:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
utils Fix MISRA rule 8.3 2018-07-10 11:17:51 +01:00
xlat_tables xlat: Fix checks in mmap_add() and mmap_add_ctx() 2018-10-08 16:15:21 +01:00
xlat_tables_v2 xlat v2: Support mapping regions with allocated VA 2018-11-22 13:29:45 +00:00
zlib zlib: Fix build error when LOG_LEVEL=50 2018-02-08 09:36:48 +01:00