feat(tests): helper to check occurrence of exception

In some of the tests the primary VM looks for the occurrence of
exceptions in the service partition. This can be done in two different
ways, depending on the exception level of the service:
- EL1 keeps count of the number of exceptions it handled, and sends it
in a message to the Primary VM.
- EL0 is aborted, and the SPMC/Hyp returns execution to the primary VM
with FFA_ERROR and error code FFA_ABORTED.

The newly added helper function is to be used by the primary VM to
check for the occurrence of exceptions, and works for both cases.

Change-Id: I5db9da013f41bf52bb3f7d069b65283191921de7
Signed-off-by: J-Alves <joao.alves@arm.com>
2 files changed
tree: 5c6ef80772775b809c87bfcfa05ae2d66831e0cb
  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: