book
book copied to clipboard
document differences in kexec and Linux boot flows between architectures
trafficstars
First code is often: arch/$ARCH/kernel/head.S
x86
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/machine_kexec_64.c?h=v6.15-rc6#n53 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/x86_init.c?h=v6.15-rc6#n123
arm
has no kexec_file_load yet, WIP was there
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arm64
tbd
riscv
tbd