1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-11-01 04:29:39 +00:00
linux-insides/Booting
Alcaro 8c1b3221fb Clarify and fix various facts, and fix more typos than I can count.
- rep stosl reduces ecx by 1 per write operation, not 4. Source: http://www.fermimn.gov.it/linux/quarta/x86/rep.htm
- Clarification: The four Page Directory tables contain 2048 entries in total, not 2048 each. Source: http://wiki.osdev.org/Page_Tables#Long_mode_.2864-bit.29_page_map
- Registers can not contain %rip-relative addresses, since %rip changes every single instruction. Only the instructions themselves can contain RIP-relative addresses.
- The first argument to decompress_kernel is called rmode, not boot_param.
- The boot_params struct goes in %rdi, not %rsi. Source: https://en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI
- find_random_addr does not ensure that the 'memory region is not less than value of kernel alignment'; it ensures the kernel is at or above the minimum load address.
2016-04-18 22:48:10 +02:00
..
linux-bootstrap-1.md Fix small grammatical error 2016-04-12 03:15:40 +05:30
linux-bootstrap-2.md Normalize indentation in linux-bootstrap-2 to improve readability 2016-01-22 06:02:56 +01:00
linux-bootstrap-3.md Clarify and fix various facts, and fix more typos than I can count. 2016-04-18 22:48:10 +02:00
linux-bootstrap-4.md Clarify and fix various facts, and fix more typos than I can count. 2016-04-18 22:48:10 +02:00
linux-bootstrap-5.md Clarify and fix various facts, and fix more typos than I can count. 2016-04-18 22:48:10 +02:00
README.md modify some descriptions of README in Booting 2015-09-09 18:36:33 +08:00

Kernel boot process

This chapter describes the linux kernel boot process. You will see here a couple of posts which describe the full cycle of the kernel loading process: