mirror of
https://github.com/0xAX/linux-insides.git
synced 2025-01-06 22:01:06 +00:00
Update linux-bootstrap-1.md
If the file is loaded at 0x10000 as shown in the memory dump, then the offset from 0x1000 is 0xf000.
This commit is contained in:
parent
4da386613e
commit
91a6bdee40
@ -231,7 +231,7 @@ So after the bootloader transferred control to the kernel, it starts somewhere a
|
||||
0x1000 + X + sizeof(KernelBootSector) + 1
|
||||
```
|
||||
|
||||
where `X` is the address kernel bootsector loaded. In my case `X` is `0x10000` (), we can see it in memory dump:
|
||||
where `X` is the address kernel bootsector loaded. In my case `X` is `0xf000` (), we can see it in memory dump:
|
||||
|
||||
![kernel first address](http://oi57.tinypic.com/16bkco2.jpg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user