mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
299675d957
Check in the source to generate the test binary, and make it a minimal x86-64 ELF binary that can actually work inside crosvm. The new version uses the COM1 serial port to print a hello message. This provides a proper test for the ELF loader, including a binary that is linked with the appropriate physical address fields in its program headers. The resulting binary is checked in rather than generated by tbe build system since we want a consistent file that can be verified against known good constants in the tests. BUG=b:234155022 TEST=cargo test -p kernel_loader Change-Id: I772b4d7e1fcb2b420acd454dc40764943bf975b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3673610 Reviewed-by: Anton Romanov <romanton@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
bindgen.sh | ||
Cargo.toml |