Skip to main content

Module bzimage

Module bzimage 

Source
Expand description

Support for loading Linux x86 bzImage files directly.

A bzImage is the standard compressed kernel image format on x86/x86_64. It consists of a real-mode boot sector, setup code, and a compressed payload that the kernel’s own startup stub decompresses at boot time. This format is specific to x86; AArch64 uses a different Image format.

See the Linux kernel documentation for the boot protocol: https://www.kernel.org/doc/html/latest/arch/x86/boot.html

Structs§

BzImageInfo
Information parsed from a bzImage setup header, needed for loading.

Enums§

Error
Errors that can occur during bzImage detection and parsing.

Functions§

is_bzimage
Attempt to detect whether kernel_image is a bzImage.
parse_bzimage
Parse the bzImage setup header and return information needed for loading.