fix(ffa): add check for 'Address Range Alignemnt Hint'

FFA_MEM_RETRIEVE_REQ ABI defines a 'Address Range Alignment Hint'
which is curently not supported by Hafnium.

Adding a check to ensure the field is 0, returning
FFA_INVALID_PARAMETERS otherwise.

Improving the already existing `ffa_validate_retrieve_req_mbz` unit
test to take into account this field as well.

Change-Id: I1827b929c7b5a26cd874b5984c7de198f1d6be25
Signed-off-by: Federico Recanati <federico.recanati@arm.com>
3 files changed
tree: e8c35d445b5e66ad36533a982a1448de28e61db9
  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: