4 releases (2 breaking)
0.9.4 | Oct 25, 2024 |
---|---|
0.9.3 | Oct 16, 2024 |
0.2.0 | Aug 6, 2024 |
0.1.0 | Apr 25, 2024 |
#383 in Unix APIs
593 downloads per month
Used in cargo-osdk
28KB
619 lines
The linux bzImage builder.
This crate is responsible for building the bzImage. It contains methods to build the setup binary (with source provided in another crate) and methods to build the bzImage from the setup binary and the kernel ELF.
We should build the asterinas kernel as an ELF file, and feed it to the builder to generate the bzImage. The builder will generate the PE/COFF header for the setup code and concatenate it to the ELF file to make the bzImage.
The setup code should be built into the ELF target and we convert it to a flat binary in the builder.
Dependencies
~3–4MB
~64K SLoC