Search notes:

arch/x86/boot/compressed/misc.c

This is a collection of several routines used to extract the kernel which includes KASLR relocation, decompression, ELF parsing, and relocation processing. Additionally included are the screen and serial output functions and related debugging support functions.
This code is relocated dynamically at run time (compiled with -fPIC).
The source also contains this note: When adding a new decompressor, please update the analysis in ../header.S.
One of the functions that misc.c implements is extract_kernel.

See also

boot process

Index