6 releases (3 breaking)

new 0.10.1 Dec 9, 2024
0.10.0 Dec 2, 2024
0.9.4 Oct 25, 2024
0.2.0 Aug 6, 2024
0.1.0 Apr 25, 2024

#370 in Unix APIs

Download history 54/week @ 2024-08-19 64/week @ 2024-08-26 33/week @ 2024-09-02 59/week @ 2024-09-09 58/week @ 2024-09-16 99/week @ 2024-09-23 117/week @ 2024-09-30 22/week @ 2024-10-07 235/week @ 2024-10-14 209/week @ 2024-10-21 101/week @ 2024-10-28 47/week @ 2024-11-04 42/week @ 2024-11-11 43/week @ 2024-11-18 32/week @ 2024-11-25 186/week @ 2024-12-02

307 downloads per month
Used in cargo-osdk

MPL-2.0 license

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
~65K SLoC