qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCHv4 1/2] fix comment on cpu_register_physical_memory_o


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCHv4 1/2] fix comment on cpu_register_physical_memory_offset
Date: Tue, 29 Sep 2009 18:53:16 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

We don't require full pages in cpu_register_physical_memory,
except for RAM.

Signed-off-by: Michael S. Tsirkin <address@hidden>
---
 exec.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/exec.c b/exec.c
index c82e767..be3c682 100644
--- a/exec.c
+++ b/exec.c
@@ -2291,8 +2291,9 @@ static void *subpage_init (target_phys_addr_t base, 
ram_addr_t *phys,
         }                                                               \
     } while (0)
 
-/* register physical memory. 'size' must be a multiple of the target
-   page size. If (phys_offset & ~TARGET_PAGE_MASK) != 0, then it is an
+/* register physical memory.
+   For RAM, 'size' must be a multiple of the target page size.
+   If (phys_offset & ~TARGET_PAGE_MASK) != 0, then it is an
    io memory page.  The address used when calling the IO function is
    the offset from the start of the region, plus region_offset.  Both
    start_addr and region_offset are rounded down to a page boundary
-- 
1.6.5.rc2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]