mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
9c8f539695
Based on https://docs.kernel.org/arch/x86/boot.html#id1, this patch adds a null GDT entry to match the Linux 64-bit Boot Protocol. With this patch, CS is 0x10, DS, ES, and SS are 0x18. Booted a bzImage and an ELF kernel, no issues observed. TEST=cargo test -p x86_64 BUG=None Change-Id: I234e9c43598fd5edb9d4e1b0fed1ba67f06a1845 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4680287 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Changyuan Lyu <changyuanl@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |