vmbase_example: Refactor DT boot pointer handling

Flip the logic so that, instead of using the linker-defined region, we
use the pointer passed through the boot protocol. The assertion ensures
that this won't result in a change in behavior but removes one
dependency on the linker definition.

To prepare for vmbase_example to be boot protocol compliant, pass the DT
region to init_page_table() instead of using a hard-coded assumption
about the DT region, which removes another use of the linker definition.

Bug: 355696053
Test: m pvmfw rialto_unsigned vmbase_example_bin
Test: TH
Change-Id: I7aa01d95139c492e76386aa737ce4afd54fe6779
1 file changed
tree: c465b801bfef0e9d1bc391fbe1ac98c9787c0824
  1. android/
  2. build/
  3. docs/
  4. guest/
  5. libs/
  6. tests/
  7. .clang-format
  8. .gitignore
  9. dice_for_avf_guest.cddl
  10. OWNERS
  11. PREUPLOAD.cfg
  12. README.md
  13. rustfmt.toml
  14. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.

Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.

If you want a quick start, see the getting started guideline and follow the steps there.

For in-depth explanations about individual topics and components, visit the following links.

AVF components:

AVF APIs:

How-Tos: