mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
Fix rounding error.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4615 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
74c11e557f
commit
b5fc909e02
2
exec.c
2
exec.c
@ -243,7 +243,7 @@ static void page_init(void)
|
||||
(1ULL << TARGET_PHYS_ADDR_SPACE_BITS) - 1);
|
||||
endaddr = MIN(endaddr,
|
||||
(1ULL << TARGET_PHYS_ADDR_SPACE_BITS) - 1);
|
||||
page_set_flags(TARGET_PAGE_ALIGN(startaddr),
|
||||
page_set_flags(startaddr & TARGET_PAGE_MASK,
|
||||
TARGET_PAGE_ALIGN(endaddr),
|
||||
PAGE_RESERVED);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user