This commit is contained in:
Jonathan Turner 2023-11-29 20:45:12 -05:00
parent 0e20d50cb1
commit 07bfda7331

View File

@ -178,13 +178,13 @@ void print_memory(node *umem_head, node *hole_head) {
}
char a[16];
hex_to_ascii( total_memory/1024, a, 16);
int_to_ascii( total_memory/1024, a, 16);
kprint("Total Physical Memory: ");
kprint(a);
kprint("kb\n");
char b[16];
hex_to_ascii( free_memory/1024, b, 16);
int_to_ascii( free_memory/1024, b, 16);
kprint("Total Free: ");
kprint(b);
kprint("kb\n");
@ -202,7 +202,7 @@ void print_memory(node *umem_head, node *hole_head) {
kprint("\n");
char e[16];
hex_to_ascii( num_of_gaps/1024, e, 16);
int_to_ascii( num_of_gaps/1024, e, 16);
kprint("Number of Free Gaps: ");
kprint(e);
kprint("\n");