commit | cb92b511e9622c1e512b44401b854700336bbfda | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Mon Jan 22 15:55:25 2024 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Tue Feb 06 12:26:25 2024 +0000 |
tree | 9c01ab4b391bce2a40e0251f79428f4900b55cc7 | |
parent | c01fd0dab60f2d51ec1033bf89bb70351ce7f3ba [diff] |
libfdt: Clean up the code before moving FFI calls Remove unnecessary type hints and let the compiler figure out the type information of generic calls from the context. DRY type information in class functions by using Self. Get rid of intermediate variables for cstr! now that we have the macro. Make {Addr,Size}Cells::TryFrom<usize>, more appropriate for sizes. DRY FdtNodeMut::delete_and_next_{node,subnode,compatible}() and introduce FdtNodeMut::next_node_skip_subnodes() for clarity. Make other trivial changes (e.g. homogenized code flow, introducing intermediate variables, ...) to reduce the diff when we will move unsafe FFI calls to another module. Test: m pvmfw Test: atest liblibfdt.integration_test Change-Id: I4575b41e4fe1db328edf373e0d3bca8565d365ed
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: