[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH]: fix a nit in exec.c
From: |
Tristan Gingold |
Subject: |
[Qemu-devel] [PATCH]: fix a nit in exec.c |
Date: |
Fri, 22 Aug 2008 15:56:32 +0200 |
Hi,
the parameter of page_find_alloc is a page index and not an address.
Tristan.
Signed-off-by: Tristan Gingold <address@hidden>
--- exec.c (revision 5062)
+++ exec.c (working copy)
@@ -286,7 +286,7 @@
#if TARGET_LONG_BITS > 32
/* Host memory outside guest VM. For 32-bit targets we have
already
excluded high addresses. */
- if (index > ((target_ulong)L2_SIZE * L1_SIZE * TARGET_PAGE_SIZE))
+ if (index > ((target_ulong)L2_SIZE * L1_SIZE))
return NULL;
#endif
lp = &l1_map[index >> L2_BITS];
qeexec.diff
Description: Binary data
- [Qemu-devel] [PATCH]: fix a nit in exec.c,
Tristan Gingold <=