From 886e327b2ad485e9e93e553760f0800997b25373 Mon Sep 17 00:00:00 2001 From: Bogdan Kulbida Date: Thu, 8 Oct 2015 17:38:47 -0400 Subject: [PATCH] fix typo in the bits range --- Booting/linux-bootstrap-2.md | 2 +- contributors.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Booting/linux-bootstrap-2.md b/Booting/linux-bootstrap-2.md index 07d74cb..5bb5e16 100644 --- a/Booting/linux-bootstrap-2.md +++ b/Booting/linux-bootstrap-2.md @@ -72,7 +72,7 @@ As mentioned above the GDT contains `segment descriptors` which describe memory ------------------------------------------------------------ ``` -Don't worry, I know it looks a little scary after real mode, but it's easy. For example LIMIT 15:0 means that bit 0-15 of the Descriptor contain the value for the limit. The rest of it is in LIMIT 16:19. So, the size of Limit is 0-19 i.e 20-bits. Let's take a closer look at it: +Don't worry, I know it looks a little scary after real mode, but it's easy. For example LIMIT 15:0 means that bit 0-15 of the Descriptor contain the value for the limit. The rest of it is in LIMIT 19:16. So, the size of Limit is 0-19 i.e 20-bits. Let's take a closer look at it: 1. Limit[20-bits] is at 0-15,16-19 bits. It defines `length_of_segment - 1`. It depends on `G`(Granularity) bit. diff --git a/contributors.md b/contributors.md index 127d265..69a1eae 100644 --- a/contributors.md +++ b/contributors.md @@ -73,3 +73,4 @@ Thank you to all contributors: * [aouelete](https://github.com/aouelete) * [Dennis Birkholz](https://github.com/dennisbirkholz) * [Anton Tyurin](https://github.com/noxiouz) +* [Bogdan Kulbida](https://github.com/kulbida)