commit | 6a8789ab3aa6f5ff85b0c31fd0d968836aad0d3f | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Tue Mar 21 14:50:59 2023 +0900 |
committer | Jiyong Park <jiyong@google.com> | Tue Mar 21 14:58:09 2023 +0900 |
tree | ba8c6990da83205469f7ace9ba43f0adbd4beb43 | |
parent | 8331612946b76114ed5b5cf66ce460e2683557ee [diff] |
Refactor DT validation routine For each category CAT of information that can be extracted from DT, following routinese are created: * read_CAT_from(&Fdt) -> libfdt::Result<CAT>: for reading the info from DT. At this point, pvmfw-specific validation beyond that is done by libfdt is NOT performed. Note the result type. * validate_CAT(&CAT) -> Result<(), RebootReason>: validates the extracted information Also, memory.rs is modified so that parsing the DT is done in one place. Bug: 249054080 Test: TH Change-Id: Ib672b23b3fb176b9d06e87ee909be9192ab21664
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.