mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
e87cdc40b3
Basic implementation of fw_cfg device. The device is recognized by OVMF, and OVMF can read a hard-coded number 0x66 from the device with fw_cfg's read(). Arbitary files can be written to the device via FwcfgDevice::add_file(). The device is activated with the command line param --fw-cfg. Specifying --fw-cfg alone will activate the device and additional arguments may be specified so that a user-specified data blob may be added from the command line. Currently, however, attempting to add a data blob from the command line is a noop.Still need to implement read() and write(). BUG=b:283990685 Change-Id: Iec899b7568b7f9195084c5cbcde1fc8a8fafd9fa Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4659945 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Sebastian Hereu <sebastianhereu@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |