提交 4c1de73d 编写于 作者: B blueswir1

Page align brk result like real Linux


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3048 c046a42c-6fe2-441c-8c8c-71466251a162
上级 33b37802
......@@ -308,7 +308,7 @@ static target_ulong target_original_brk;
void target_set_brk(target_ulong new_brk)
{
target_original_brk = target_brk = new_brk;
target_original_brk = target_brk = HOST_PAGE_ALIGN(new_brk);
}
long do_brk(target_ulong new_brk)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册