Skip to contentSkip to conversation

[5852] Cosmetic cleanups to previous patch.

Qemu-devel Paul Brook 1 participant 1 message Dec 2, 2008

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

Revision: 5852

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5852
Author:   pbrook
Date:     2008-12-02 09:02:15 +0000 (Tue, 02 Dec 2008)

Log Message:
-----------
Cosmetic cleanups to previous patch.

Modified Paths:
--------------
trunk/exec.c

Modified: trunk/exec.c
===================================================================

exec.c +1 -2
@@ -1973,7 +1973,6 @@
            IO_MEM_ROMD uses these as a ram address.  */
         iotlb = (pd & ~TARGET_PAGE_MASK);
         if (p) {
-            /* FIXME: What if this isn't page aligned?  */
             iotlb += p->region_offset;
         } else {
             iotlb += paddr;
@@ -2307,7 +2306,7 @@
             if ((phys_offset & ~TARGET_PAGE_MASK) <= IO_MEM_ROM ||
                 (phys_offset & IO_MEM_ROMD)) {
                 phys_offset += TARGET_PAGE_SIZE;
-            }else {
+            } else {
                 target_phys_addr_t start_addr2, end_addr2;
                 int need_subpage = 0;