Search notes:

arch/x86/kernel/head_64.S

startup_64

The startup_64 «function» contains the code that is first executed in the kernel when it is started.
This location is specified with the ENTRY() command in the linker script arch/$SRCARCH/kernel/vmlinux.lds.
This function is called either
But… see also

See also

arch/x86/kernel/head_32.S
arch/x86/boot/compressed/head_64.S

Index