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

#342 in Unix APIs

Download history 43/week @ 2024-07-28 170/week @ 2024-08-04 77/week @ 2024-08-11 50/week @ 2024-08-18 62/week @ 2024-08-25 42/week @ 2024-09-01 52/week @ 2024-09-08 63/week @ 2024-09-15 93/week @ 2024-09-22 118/week @ 2024-09-29 30/week @ 2024-10-06 215/week @ 2024-10-13 212/week @ 2024-10-20 107/week @ 2024-10-27 55/week @ 2024-11-03 40/week @ 2024-11-10

419 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
~64K SLoC