This commit is contained in:
Jonathan Turner 2023-11-29 20:51:22 -05:00
parent d6b3a0097f
commit d7a4785c31

View File

@ -177,9 +177,9 @@ void print_memory(node *umem_head, node *hole_head) {
}
u32 total_allocated = total_memory - free_memory;
total_memory = (total_memory+1)/(0x400)
char a[16];
int_to_ascii( (total_memory+1/(1024*10)), a, 16);
int_to_ascii( total_memory, a, 16);
kprint("Total Physical Memory: ");
kprint(a);
kprint("kb\n");