please
This commit is contained in:
parent
e01b340d77
commit
99b1875cde
@ -179,7 +179,7 @@ void print_memory(node *umem_head, node *hole_head) {
|
|||||||
u32 total_allocated = total_memory - free_memory;
|
u32 total_allocated = total_memory - free_memory;
|
||||||
|
|
||||||
char a[16];
|
char a[16];
|
||||||
int_to_ascii( total_memory+1/1024, a, 16);
|
int_to_ascii( (total_memory+1/1024), a, 16);
|
||||||
kprint("Total Physical Memory: ");
|
kprint("Total Physical Memory: ");
|
||||||
kprint(a);
|
kprint(a);
|
||||||
kprint("kb\n");
|
kprint("kb\n");
|
||||||
@ -203,7 +203,7 @@ void print_memory(node *umem_head, node *hole_head) {
|
|||||||
kprint("\n");
|
kprint("\n");
|
||||||
|
|
||||||
char e[16];
|
char e[16];
|
||||||
int_to_ascii( num_of_gaps/1024, e, 16);
|
int_to_ascii( num_of_gaps, 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