diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-09-16 11:52:15 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-09-16 11:52:15 -0400 |
commit | 0af76d3252e9e46c2e7b76e67e37e399d7a7904d (patch) | |
tree | fadda29a211c0690f9a9d16ec961cc947dd2053a | |
parent | 3af3975c523e170fdf2555830b74c6045ea8c314 (diff) |
mm: physical_mm: add MAX_BLOCKS calculation to comment
-rw-r--r-- | kernel/include/mm/physical_mm.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |