commit | 5bbfca53eebb48b80a5d14f8c006270fcc287256 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Fri Oct 21 12:14:35 2022 +0100 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Fri Oct 21 18:03:07 2022 +0100 |
tree | c0c0a616e4d433a35d68250881867052784c9fec | |
parent | dafcc8a167b00729b05e596957ace13c40b365b4 [diff] |
pvmfw: entry: Introduce start() & main_wrapper() As the environment needs to be fully configured before Rust code can run without taking particular care about the memory or MMIO it accesses and as we want to take advantage of Rust error-handling (Result<>, ?, ...) and borrow checker, introduce a 3-stage wrapping of the main() function where resources are progressively configured (then dropped) before main() gets run. Test: atest MicrodroidTestApp Change-Id: I3faaba0f481225ae90f07e1f7f1e0b1855a26bae
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.