commit | 8e92d1aa655fa0b536d98f8727a346153b27e7df | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Tue Jun 18 16:15:14 2024 +0100 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Mon Jul 08 14:27:05 2024 +0100 |
tree | 6f7bcab73cff951bd72374c7e36fcc90aea04090 | |
parent | bc9fb7e3011be2e26b510373b3a65e1cf8255431 [diff] |
vmbase: Improve safety of console::init() As the console should only be accessed once it has been MMIO guarded and mapped in the MMU, prevent eprintln!() from writing to the UART before console::init() has been called. Mark console::init() as unsafe, documenting the constraints on when it should be called and, in the entry code, move it _after_ we've called mmio_guard.map(UART_PAGE). Move BASE_ADDRESS to the more appropriate layout module and allow the caller to pass the UART base to console::init() and rename it UART_ADDR, for clarity. Test: m pvmfw librialto libvmbase_example Change-Id: I9543765fd0429b38b45bc2e7b7c83bedf79194f3
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: