maybe?
This commit is contained in:
parent
0e20d50cb1
commit
07bfda7331
@ -178,13 +178,13 @@ void print_memory(node *umem_head, node *hole_head) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
char a[16];
|
char a[16];
|
||||||
hex_to_ascii( total_memory/1024, a, 16);
|
int_to_ascii( total_memory/1024, a, 16);
|
||||||
kprint("Total Physical Memory: ");
|
kprint("Total Physical Memory: ");
|
||||||
kprint(a);
|
kprint(a);
|
||||||
kprint("kb\n");
|
kprint("kb\n");
|
||||||
|
|
||||||
char b[16];
|
char b[16];
|
||||||
hex_to_ascii( free_memory/1024, b, 16);
|
int_to_ascii( free_memory/1024, b, 16);
|
||||||
kprint("Total Free: ");
|
kprint("Total Free: ");
|
||||||
kprint(b);
|
kprint(b);
|
||||||
kprint("kb\n");
|
kprint("kb\n");
|
||||||
@ -202,7 +202,7 @@ void print_memory(node *umem_head, node *hole_head) {
|
|||||||
kprint("\n");
|
kprint("\n");
|
||||||
|
|
||||||
char e[16];
|
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("Number of Free Gaps: ");
|
||||||
kprint(e);
|
kprint(e);
|
||||||
kprint("\n");
|
kprint("\n");
|
||||||
|
Reference in New Issue
Block a user