From 0af76d3252e9e46c2e7b76e67e37e399d7a7904d Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Tue, 16 Sep 2025 11:52:15 -0400 Subject: mm: physical_mm: add MAX_BLOCKS calculation to comment --- kernel/include/mm/physical_mm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/include/mm/physical_mm.h b/kernel/include/mm/physical_mm.h index 3075bf9..abdf178 100644 --- a/kernel/include/mm/physical_mm.h +++ b/kernel/include/mm/physical_mm.h @@ -28,7 +28,10 @@ #define BITMAP_ENTRY_SIZE 32 -/* This is the maximum number of blocks for a 4GiB system. */ +/* + * This is the maximum number of blocks for a 4GiB system + * => 4GiB / 4KiB + */ #define MAX_BLOCKS 1048576 namespace PhysicalMM -- cgit v1.2.3