Skip to content

Commit

Permalink
Merge pull request #114 from georgekang/fix_free_mem
Browse files Browse the repository at this point in the history
root_thread: fix incorrect update of free_mem
  • Loading branch information
jserv committed Apr 17, 2015
2 parents 8a85eec + 8329f0e commit a2a29e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/root_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ void __USER_TEXT __root_thread(kip_t *kip_ptr, utcb_t *utcb_ptr)
} else {
L4_Map(tid, (L4_Word_t)free_mem, fpage->size);
fpage->base = (L4_Word_t)free_mem;
free_mem += fpage->size;
}

free_mem += fpage->size;
fpage++;
}

Expand Down

0 comments on commit a2a29e1

Please sign in to comment.