Segmentation and Paging in x86

Written by mvuksano | Published 2020/06/23
Tech Story Tags: virtualization | kvm | cpu | x86 | memory | intel | hackernoon-top-story | web-monetization

TLDR In x86 CPU starts running in real mode which you probably don't want to use and will either want to switch to 32bit mode with paging enabled or 64 bit mode (aka long mode) We need to change mode of execution somehow. To do that we need to configure CPU and execute certain instructions. In protected mode we use the same form A:B (where A ∈ [CS, SS, DS, ES, FS, GS] is used. This logical address is then translated into physical address by using A * 0x10 + B.via the TL;DR App

no story

Written by mvuksano | PSS - Pragmatic problem solver @ Facebook
Published by HackerNoon on 2020/06/23