crosvm/common
Daniel Verkamp a3c6e95bb5 sys_util: add LayoutAllocation as_(mut_)slice()
These functions allow access to the allocated memory as a slice of a
generic type T, rather than just a single element of T like the existing
as_mut() function.

BUG=b:197247746
TEST=tools/presubmit --quick

Change-Id: I09287407b6179066fc14c96539c3032be19736a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3327573
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2021-12-13 20:48:22 +00:00
..
assertions
audio_streams audio_streams: Fix incorrect write impl in AudioBuffer 2021-12-13 05:04:55 +00:00
base Revert "vm-memory: mlock2(MLOCK_ONFAULT) guest memory for protected VMs" 2021-12-02 11:28:53 +00:00
cros-fuzz
cros_async Fix cargo-doc warnings 2021-12-09 14:34:33 +00:00
cros_asyncv2 asyncv2: Split fallocate into separate functions 2021-12-09 12:33:09 +00:00
data_model Fix cargo-doc warnings 2021-12-09 14:34:33 +00:00
io_uring
p9
sync
sys_util sys_util: add LayoutAllocation as_(mut_)slice() 2021-12-13 20:48:22 +00:00
README.md

Crosvm General Purpose Libraries

The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.

To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.

List of libraries

  • cros-fuzz: Support crate for fuzzing rust code in ChromeOS
  • p9: Server implementation of the 9p file system protocol