Page align brk result like real Linux
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3048 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
33b3780262
commit
4c1de73d15
@ -308,7 +308,7 @@ static target_ulong target_original_brk;
|
|||||||
|
|
||||||
void target_set_brk(target_ulong new_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)
|
long do_brk(target_ulong new_brk)
|
||||||
|
Loading…
Reference in New Issue
Block a user