From 1aac36f788834699b6891aea7a83eb950bd5e8f6 Mon Sep 17 00:00:00 2001 From: stefan Date: Sat, 8 Apr 2023 20:42:18 -0400 Subject: no idea whot i changed lol --- sys/kern/mm/kalloc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern/mm') diff --git a/sys/kern/mm/kalloc.c b/sys/kern/mm/kalloc.c index f354648..bfd4f3f 100644 --- a/sys/kern/mm/kalloc.c +++ b/sys/kern/mm/kalloc.c @@ -46,10 +46,8 @@ kfree(void *p) void kalloc_init(void) { - printf("1\n"); freenode_t *p = (freenode_t*)HEAP_START; for (;(unsigned long)p + PAGE_SIZE <= (HEAP_START + 0x100000); p += PAGE_SIZE) { - printf("freeing page at %p", p); kfree(p); } } -- cgit v1.2.3