diff --git a/Booting/linux-bootstrap-2md.md b/Booting/linux-bootstrap-2md.md index 9b76b89..8469a27 100644 --- a/Booting/linux-bootstrap-2md.md +++ b/Booting/linux-bootstrap-2md.md @@ -179,3 +179,4 @@ lgdt gdt 将启动参数拷贝到"zeropage" -------------------------------------------------------------------------------- +We will start from the `main` routine in "main.c". First function which is called in `main` is [`copy_boot_params(void)`](https://github.com/torvalds/linux/blob/master/arch/x86/boot/main.c#L30). It copies the kernel setup header into the field of the `boot_params` structure which is defined in the [arch/x86/include/uapi/asm/bootparam.h](https://github.com/torvalds/linux/blob/master/arch/x86/include/uapi/asm/bootparam.h#L113).