SamyPesse / How-to-Make-a-Computer-Operating-System

How to Make a Computer Operating System in C++
https://samypesse.gitbook.io/how-to-create-an-operating-system
Apache License 2.0
21.34k stars 3.42k forks source link

What does 4ko mean? #71

Closed zchrissirhcz closed 9 years ago

zchrissirhcz commented 9 years ago

In Chapter-8 I read this:

The translation of a linear address to a physical address is done in multiple steps:

The processor use the registry CR3 to know the physical address of the pages directory. The first 10 bits of the linear address represent an offset (between 0 and 1023), pointing to an entry in the pages directory. This entry contains the physical address of a pages table. the next 10 bits of the linear address represent an offset, pointing to an entry in the pages table. This entry is pointing to a 4ko page. The last 12 bits of the linear address represent an offset (between 0 and 4095), which indicates the position in the 4ko page.

Should 4ko be 4kb ?

Thunraz commented 9 years ago

In France, French Canada and Romania, octet is used in common language instead of byte when the 8-bit sense is required, for example, a megabyte (MB) is called a megaoctet (Mo).

From http://en.wikipedia.org/wiki/Octet_(computing)

zchrissirhcz commented 9 years ago

Got it, thx!