Commit 0e420d89 authored by Bhavesh Yadav's avatar Bhavesh Yadav

Added mem_init

parent a3b69b95
...@@ -61,7 +61,8 @@ unsigned int freeListSize = 0; ...@@ -61,7 +61,8 @@ unsigned int freeListSize = 0;
* mm_init - initialize the malloc package. * mm_init - initialize the malloc package.
*/ */
int mm_init(void) int mm_init(void)
{ {
mem_init();
freeListSize = 0; freeListSize = 0;
return 0; return 0;
} }
......
...@@ -10,7 +10,7 @@ a 3 4072 ...@@ -10,7 +10,7 @@ a 3 4072
f 3 f 3
a 4 4072 a 4 4072
f 0 f 0
f 2 r 2 1040
a 5 4072 a 5 4072
f 4 f 4
f 5 f 5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment