From 91a6bdee401587ae2a5af4a3810d3df16942daf6 Mon Sep 17 00:00:00 2001 From: Michael Rosenberg <42micro@gmail.com> Date: Sun, 18 Jan 2015 18:03:29 -0500 Subject: [PATCH] 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. --- linux-bootstrap-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-bootstrap-1.md b/linux-bootstrap-1.md index 643fcd5..9f80b59 100644 --- a/linux-bootstrap-1.md +++ b/linux-bootstrap-1.md @@ -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)