diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-09-16 11:43:14 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-09-16 11:43:14 -0400 |
commit | fa7e8e6534451c0e8f755bcb9c7bad1d99de001f (patch) | |
tree | a4d72349caba1aac788ce8a0e2f62c59c07f6166 /kernel/mm/physical_mm/bitmap.cc | |
parent | 926c59b9d34d84ef4aee995a6b868be858b6c84e (diff) |
mm: physical_mm: add comments to function headers
Diffstat (limited to 'kernel/mm/physical_mm/bitmap.cc')
-rw-r--r-- | kernel/mm/physical_mm/bitmap.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/mm/physical_mm/bitmap.cc b/kernel/mm/physical_mm/bitmap.cc index 6284173..1c1285d 100644 --- a/kernel/mm/physical_mm/bitmap.cc +++ b/kernel/mm/physical_mm/bitmap.cc @@ -23,7 +23,6 @@ namespace PhysicalMM { -/* Marks the block as 'used' */ void set_used(const uint32_t bit, uint32_t *total_free_blocks, uint32_t *memory_map) { @@ -33,7 +32,6 @@ set_used(const uint32_t bit, uint32_t *total_free_blocks, uint32_t *memory_map) memory_map[memory_map_index] |= bitmask; } -/* Marks the block as 'unused' */ void set_usable(const uint32_t bit, uint32_t *total_free_blocks, @@ -45,10 +43,6 @@ set_usable(const uint32_t bit, memory_map[memory_map_index] &= ~bitmask; } -/* Returns: - * True if the bit is set (block is in use) - * False if the bit is unset (block isn't in use) - */ bool test_bit(const uint32_t bit, uint32_t *memory_map) { |