1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

Merge pull request #293 from ruthgrace/bootstrap_1_jump_to_main

fixed grammar in linux-bootstrap-1.md, Jump to main section
This commit is contained in:
0xAX 2015-11-30 17:46:53 +06:00
commit 0de6568131

View File

@ -465,13 +465,13 @@ First of all the [__bss_start](https://github.com/torvalds/linux/blob/master/arc
Jump to main
--------------------------------------------------------------------------------
That's all, we have the stack, BSS so we can jump to the `main()` C function:
That's all, we have the stack and BSS so we can jump to the `main()` C function:
```assembly
calll main
```
The `main()` function is located in [arch/x86/boot/main.c](https://github.com/torvalds/linux/blob/master/arch/x86/boot/main.c). What this does, you can read in the next part.
The `main()` function is located in [arch/x86/boot/main.c](https://github.com/torvalds/linux/blob/master/arch/x86/boot/main.c). You can read about what this does in the next part.
Conclusion
--------------------------------------------------------------------------------