* [Qemu-devel] [4615] Fix rounding error.
@ 2008-05-29 13:56 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-05-29 13:56 UTC (permalink / raw)
To: qemu-devel
Revision: 4615
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4615
Author: pbrook
Date: 2008-05-29 13:56:10 +0000 (Thu, 29 May 2008)
Log Message:
-----------
Fix rounding error.
Modified Paths:
--------------
trunk/exec.c
Modified: trunk/exec.c
===================================================================
--- trunk/exec.c 2008-05-29 13:49:09 UTC (rev 4614)
+++ trunk/exec.c 2008-05-29 13:56:10 UTC (rev 4615)
@@ -243,7 +243,7 @@
(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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-29 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 13:56 [Qemu-devel] [4615] Fix rounding error Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).