refactor(memory shaing): initialize region constituents

The helper functions to initialize the memory transaction descriptors
are intended for single borrower memory sharing operations.
This patch aims at easing initialization of the memory transaction
descriptors for memory sharing involving multiple borrowers. It
factors out from 'ffa_memory_region_init_single_receiver' the code
to initialize the memory region's constituents, set the proper
offset to the receiver, and place this code in a specific
function called 'ffa_memory_region_init_constituents'.

Change-Id: I67b1984fecb3c90a88a806558d168909de1186a8
Signed-off-by: J-Alves <joao.alves@arm.com>
1 file changed
tree: 5e9977b1576bba5915fd4dc449ef615091c40884
  1. .vscode/
  2. build/
  3. docs/
  4. driver/
  5. inc/
  6. kokoro/
  7. project/
  8. src/
  9. test/
  10. third_party/
  11. vmlib/
  12. .clang-format
  13. .clang-tidy
  14. .gitignore
  15. .gitmodules
  16. .gn
  17. AUTHORS
  18. BUILD.gn
  19. CONTRIBUTING.md
  20. dco.txt
  21. LICENSE
  22. Makefile
  23. navbar.md
  24. README.md
README.md

Hafnium

Hafnium is a hypervisor, initially supporting aarch64 (64-bit Armv8 CPUs).

Get in touch and keep up-to-date at hafnium@lists.trustedfirmware.org. See feature requests and bugs on our bug dashboard.

Getting started

To jump in and build Hafnium, follow the getting started instructions.

If you want to contribute to the project, see details of how we accept contributions.

Documentation

More documentation is available on: