Compare commits

...

2 Commits

Author SHA1 Message Date
Sebastian Fricke c10f94407a
Merge pull request #766 from thalelinh/patch-1
3 years ago
Tales Lelo da Aparecida 669c74a22c
Fix minor typo at linux-bootstrap-4.md
3 years ago

@ -41,7 +41,7 @@ fs 0x18 24
gs 0x18 24
```
We can see here that the `cs` register contains a value of `0x10` (as you maight recall from the [previous part](https://github.com/0xAX/linux-insides/blob/v4.16/Booting/linux-bootstrap-3.md), this is the second index in the `Global Descriptor Table`), the `eip` register contains the value `0x100000` and the base address of all segments including the code segment are zero.
We can see here that the `cs` register contains a value of `0x10` (as you might recall from the [previous part](https://github.com/0xAX/linux-insides/blob/v4.16/Booting/linux-bootstrap-3.md), this is the second index in the `Global Descriptor Table`), the `eip` register contains the value `0x100000` and the base address of all segments including the code segment are zero.
So, the physical address where the kernel is loaded would be `0:0x100000` or just `0x100000`, as specified by the boot protocol. Now let's start with the `32-bit` entry point.

Loading…
Cancel
Save