[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] exec.c: Remove out of date comment
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 7/7] exec.c: Remove out of date comment |
Date: |
Fri, 3 Aug 2012 11:51:06 +0100 |
From: Peter Maydell <address@hidden>
Remove an out of date comment: this comment used to be attached to
cpu_register_physical_memory_log(), before commit 0f0cb164 accidentally
inserted a couple of other functions between the comment and its function.
It is in any case obsolete since (a) the function arguments it refers
to have been replaced with a single MemoryRegionSection* argument and
(b) the inability to handle regions whose offset_within_address_space
and offset_within_region aren't equally aligned was fixed as part of
the rewrite of this code.
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
exec.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/exec.c b/exec.c
index e6ac3e7..a42a0b5 100644
--- a/exec.c
+++ b/exec.c
@@ -2240,14 +2240,6 @@ static void phys_sections_clear(void)
phys_sections_nb = 0;
}
-/* 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
- before calculating this offset. This should not be a problem unless
- the low bits of start_addr and region_offset differ. */
static void register_subpage(MemoryRegionSection *section)
{
subpage_t *subpage;
--
1.7.10.4
- [Qemu-devel] [PULL 0/7] Trivial patches for 22 July to 3 August 2012, Stefan Hajnoczi, 2012/08/03
- [Qemu-devel] [PATCH 3/7] remove unused include of error.h, Stefan Hajnoczi, 2012/08/03
- [Qemu-devel] [PATCH 2/7] qom: Clean libuser object and dependency files, Stefan Hajnoczi, 2012/08/03
- [Qemu-devel] [PATCH 1/7] usb: Clean common object and dependency files, Stefan Hajnoczi, 2012/08/03
- [Qemu-devel] [PATCH 5/7] exec.c: Fix off-by-one error in register_subpage, Stefan Hajnoczi, 2012/08/03
- [Qemu-devel] [PATCH 7/7] exec.c: Remove out of date comment,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 6/7] exec.c: Use subpages for large unaligned mappings, Stefan Hajnoczi, 2012/08/03
- [Qemu-devel] [PATCH 4/7] socket: clean up redundant assignment, Stefan Hajnoczi, 2012/08/03
- Re: [Qemu-devel] [PULL 0/7] Trivial patches for 22 July to 3 August 2012, Stefan Hajnoczi, 2012/08/03