Add support for accessing EL1 debug registers

For now, the primary vm can access all debug registers, whereas secondary vms
cannot.  Debug event exceptions are disabled for secondary vms, so a malicious
primary cannot have active breakpoints or watchpoints for secondary vms.

This code allows us in the future to add debug support to secondary vms, and to
have fine-grained control over which registers are allowed, either by the
primary or secondary, as well as change the behavior for such accesses.

Bug: 132422368
Change-Id: I616454cc12bea6b8dfebbbdb566ac64c0a6625c2
13 files changed
tree: 6c64c849aca3953ce1062a003b3e56c1259d421b
  1. .clang-format
  2. .clang-tidy
  3. .gitignore
  4. .gitmodules
  5. .gn
  6. .vscode/
  7. AUTHORS
  8. BUILD.gn
  9. CONTRIBUTING.md
  10. LICENSE
  11. Makefile
  12. README.md
  13. build/
  14. docs/
  15. driver/
  16. inc/
  17. kokoro/
  18. project/
  19. src/
  20. test/
  21. third_party/
README.md

Hafnium

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

Get in touch and keep up-to-date at hafnium-discuss@googlegroups.com.

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: