Tagged articles
2 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Jun 30, 2025 · Fundamentals

How Linux Detects Physical Memory: Inside the E820 BIOS Interface

This article explains how the Linux kernel discovers physical memory during boot by invoking the BIOS interrupt 0x15 with the E820 function, how firmware (ACPI) provides the memory map, and how the kernel stores, prints, and later manages those memory regions using e820 tables, memblock, and the buddy allocator.

ACPIE820Kernel
0 likes · 10 min read
How Linux Detects Physical Memory: Inside the E820 BIOS Interface
Refining Core Development Skills
Refining Core Development Skills
Feb 19, 2025 · Operations

Linux Kernel Memory Detection via E820 Mechanism

This article explains how the Linux kernel detects physical memory during boot by leveraging the E820 mechanism, where firmware reports memory ranges via interrupt 15H, enabling the kernel to map usable memory addresses for subsequent allocation.

Boot ProcessE820Linux kernel
0 likes · 8 min read
Linux Kernel Memory Detection via E820 Mechanism