crosvm/arch/src
Noah Gold 9af97d72fa [base] update/clean mmap interfaces.
This CL addresses some minor issues with the existing interface:
1. from_descriptor is too generic for some platforms that require
   special handling for file/File backed mappings.
2. Nearly all call sites pass either File or SharedMemory. Now
   we just have from_ methods for those types to preserve type
   information.
3. Other platforms require additional fields in MemoryMapping, so a
   tuple struct no longer makes sense.
4. The mmap syscall error message was misleading as we use it for more
   than just the mmap syscall.

BUG=None
TEST=builds

Change-Id: I74c41bad52bb81880a11231cd18f47e233548a24
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2815614
Reviewed-by: Udam Saini <udam@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2021-04-15 02:10:35 +00:00
..
android.rs arch: rewrite FDT writer in native rust 2021-03-03 01:29:15 +00:00
fdt.rs arch: fdt: minor documentation cleanups 2021-03-16 23:47:37 +00:00
lib.rs arch: move GuestMemory creation to common of linux module 2021-04-09 21:06:12 +00:00
pstore.rs [base] update/clean mmap interfaces. 2021-04-15 02:10:35 +00:00
serial.rs Enable KVM_CAP_ARM_PROTECTED_VM when --protected-vm is passed. 2021-03-02 19:04:43 +00:00