From 23e9c2751ad06b4baf185b3e4a44f310b7566498 Mon Sep 17 00:00:00 2001 From: ruthgrace Date: Sat, 31 Oct 2015 02:52:15 -0400 Subject: [PATCH] fixed grammar in linux-bootstrap-1.md, Start of kernel setup section --- Booting/linux-bootstrap-1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Booting/linux-bootstrap-1.md b/Booting/linux-bootstrap-1.md index e0b3a34..a54891e 100644 --- a/Booting/linux-bootstrap-1.md +++ b/Booting/linux-bootstrap-1.md @@ -321,7 +321,7 @@ Actually this is the first code that runs (aside from the previous jump instruct state.cs = segment + 0x20; ``` -It means that segment registers will have following values after kernel setup starts: +It means that segment registers will have the following values after kernel setup starts: ``` gs = fs = es = ds = ss = 0x1000 @@ -333,8 +333,8 @@ in my case when the kernel is loaded at `0x10000`. After the jump to `start_of_setup`, it needs to do the following: * Be sure that all values of all segment registers are equal -* Setup correct stack if needed -* Setup [bss](https://en.wikipedia.org/wiki/.bss) +* Set up correct stack if needed +* Set up [bss](https://en.wikipedia.org/wiki/.bss) * Jump to C code at [main.c](https://github.com/torvalds/linux/blob/master/arch/x86/boot/main.c) Let's look at the implementation.