mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue