crosvm/docs/book
Daniel Verkamp 3d126b7976 x86_64: limit kernel command line to 2 KB
This is the limit used by Linux kernels since the 2.6 era, as reported
in the bzImage header as well as the COMMAND_LINE_SIZE definition in
setup.h.

The previous allocation of almost 2 MB was excessive and would have
also overlapped the memory region used for ACPI tables had a long
enough command line been provided.

We will use the area freed up by this change for the setup_data in the
next change.

BUG=b:268397895
TEST=boot x86-64 bzImage in crosvm

Change-Id: I3b5a3771549c3352e609a9685f591be38ae9fa63
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4233966
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-02-16 00:28:26 +00:00
..
src x86_64: limit kernel command line to 2 KB 2023-02-16 00:28:26 +00:00
.gitignore
book.toml Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
mermaid-init.js book: add mermaid-js support 2021-07-01 16:28:32 +00:00
mermaid.min.js book: add mermaid-js support 2021-07-01 16:28:32 +00:00