]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commitdiff
mm: fix heap initialization code duplication
authorTulio A M Mendes <[email protected]>
Thu, 5 Feb 2026 21:11:50 +0000 (18:11 -0300)
committerTulio A M Mendes <[email protected]>
Thu, 5 Feb 2026 21:11:50 +0000 (18:11 -0300)
src/mm/heap.c

index d45c66730825030e6a11d3296d1b5dec2f5ae401..b078e6df200cf335f3de23f0952b872e7a0aac26 100644 (file)
@@ -41,22 +41,6 @@ void check_integrity(heap_header_t* header) {
         for(;;) __asm__("hlt");
     }
 }
-
-void kheap_init(void) {
-    uart_print("[HEAP] Initializing Advanced Heap (Doubly Linked)...\n");
-    
-    // ... (rest of mapping code) ...
-    // Note: I will need to replace the mapping code block manually or be careful
-    // Since I'm using 'edit', let's stick to what changes.
-    // I need to find the exact block to replace.
-    
-    // Actually, I can replace the whole struct definition and init logic.
-    // But 'edit' tool replaces EXACT text matches.
-    // The previous text block I provided in 'newText' won't match because I added functions.
-    
-    // Let's abort this 'edit' approach for the whole file and do precise replacements.
-
-
 void kheap_init(void) {
     uart_print("[HEAP] Initializing Advanced Heap (Doubly Linked)...\n");