VHE: Update vm helper functions to account for EL0 partitions

Updated the VM helper functions that init and map memory into the VM to
account for EL0 partitions. When a partition is an el0 partition, we use
the appropriate stage 1 mapping API's to ensure they are mapped as stage
1 tables and entries.
Note that it is weird to call vm helper functions for an EL0 entity but
a EL0 partition is being modeled as a lightweight VM to promote
reusability of code and not have to create a parallel universe of
helpers, functions and management.

Change-Id: Iafb4fdd3e921edff4d523c9a9fb159ddb9f4bb7f
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
1 file changed
tree: d1196597ccda4178ed12f1b2cffde156b3db2c1b
  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: