1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-11-01 04:29:39 +00:00
linux-insides/Initialization
Firo Yang 723b07605c In the following expression, we add the value of phys_base to the
rax register, not the address of phys_base.
addq    phys_base(%rip), %rax

BTW, the value of phys_base =
the actual loaded physical address of kernel after relocation - the
likned physical address of kernel.

Signed-off-by: Firo Yang <firogh@gmail.com>
2017-11-29 16:21:45 +08:00
..
linux-initialization-1.md In the following expression, we add the value of phys_base to the 2017-11-29 16:21:45 +08:00
linux-initialization-2.md
linux-initialization-3.md Fix typo linux-initialization-3 2017-08-04 12:22:11 +02:00
linux-initialization-4.md
linux-initialization-5.md update the entry_64.S link in the linux-initialization-5.md file 2017-10-29 11:33:26 +08:00
linux-initialization-6.md
linux-initialization-7.md
linux-initialization-8.md
linux-initialization-9.md Make all Github links reference a specific commit 2017-07-30 15:56:26 -04:00
linux-initialization-10.md Make all Github links reference a specific commit 2017-07-30 15:56:26 -04:00
README.md

Kernel initialization process

You will find here a couple of posts which describe the full cycle of kernel initialization from its first step after the kernel has been decompressed to the start of the first process run by the kernel itself.

Note That there will not be a description of the all kernel initialization steps. Here will be only generic kernel part, without interrupts handling, ACPI, and many other parts. All parts which I have missed, will be described in other chapters.