1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2025-01-03 12:20:56 +00:00

Merge pull request #456 from amreo/patch-1

Fix math error
This commit is contained in:
0xAX 2017-02-02 02:27:03 -05:00 committed by GitHub
commit 2036068293

View File

@ -234,7 +234,7 @@ X+08000 +------------------------+
So, when the bootloader transfers control to the kernel, it starts at:
```
0x1000 + X + sizeof(KernelBootSector) + 1
X + sizeof(KernelBootSector) + 1
```
where `X` is the address of the kernel boot sector being loaded. In my case, `X` is `0x10000`, as we can see in a memory dump: