pvmfw: Implement jump_to_payload with asm!()

Move the start_payload routine to Rust as at the point where we might
call it, the system is in a state where Rust code can run and there is
then no reason to avoid the Rust compiler, unlike vmbase/entry.S. By
using asm!(), the compiler is made aware of the routine and will handle
ABI compatibility and more.

Test: atest MicrodroidTestApp
Change-Id: If9867d0142c1254e370f6c97d4f3ef749771afe2
4 files changed
tree: 39257bacfe14c177287bfd0bc4f1f5fb2ef9832c
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.