maybe?
This commit is contained in:
parent
7ae77c7abe
commit
19419cc649
@ -186,14 +186,14 @@ void print_memory(node *umem_head, node *hole_head) {
|
|||||||
|
|
||||||
free_memory = (free_memory+1)/(0x400);
|
free_memory = (free_memory+1)/(0x400);
|
||||||
char b[16];
|
char b[16];
|
||||||
int_to_ascii( free_memory, b, 16);
|
int_to_ascii( free_memory-64, b, 16);
|
||||||
kprint("Total Free: ");
|
kprint("Total Free: ");
|
||||||
kprint(b);
|
kprint(b);
|
||||||
kprint("kb\n");
|
kprint("kb\n");
|
||||||
|
|
||||||
total_allocated = (total_allocated+1)/(0x400);
|
total_allocated = (total_allocated+1)/(0x400);
|
||||||
char c[16];
|
char c[16];
|
||||||
int_to_ascii( total_allocated, c, 16);
|
int_to_ascii( total_allocated-64, c, 16);
|
||||||
kprint("Total Allocated: ");
|
kprint("Total Allocated: ");
|
||||||
kprint(c);
|
kprint(c);
|
||||||
kprint("kb\n");
|
kprint("kb\n");
|
||||||
|
Reference in New Issue
Block a user