commit | d83741dd7bb518d305fda6dc71786082fa206cdf | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Fri Feb 02 10:44:55 2024 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Thu Feb 08 18:06:23 2024 +0000 |
tree | 12055b7097f9800653f3fb292af572edd109af7b | |
parent | fbb5ee2aff9ff567bdb2cc2da80195b516b14308 [diff] |
libfdt: Introduce Libfdt traits & Move node funcs Decouple the Fdt type from the C functions, to allow easily supporting the libfdt API through other types (e.g. a heap-allocated FdtOwned). The trait will be intended as the single point for implementing thin wrappers around the bindgen. Higher-level and user-facing types will be provided with a safe API by these traits. The traits are decoupled between mutable and immutable to afford the highest level of flexibility to implementers. Note that this allows the RO API to be used by mutable abstractions without risk of confusing the borrow checker as the API deals with c_int offsets. To make this easier to review, this commit only transfer basic node functions dealing with node offsets and the rest of the FFI will be moved in chuncks by future commits. Reduce the unsafe blocks to the strict minimum (i.e. the FFI calls). Test: m pvmfw Test: atest liblibfdt.integration_test Change-Id: Iee53dbd357499bc6c1562264d23be94de2c0196e
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: