Commit 0e8f096751f279a8de01d9c66c87911ec431fa4c

Authored by pbrook
1 parent 53762ddb

Cosmetic cleanups to previous patch.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5852 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 2 deletions
... ... @@ -1973,7 +1973,6 @@ int tlb_set_page_exec(CPUState *env, target_ulong vaddr,
1973 1973 IO_MEM_ROMD uses these as a ram address. */
1974 1974 iotlb = (pd & ~TARGET_PAGE_MASK);
1975 1975 if (p) {
1976   - /* FIXME: What if this isn't page aligned? */
1977 1976 iotlb += p->region_offset;
1978 1977 } else {
1979 1978 iotlb += paddr;
... ... @@ -2307,7 +2306,7 @@ void cpu_register_physical_memory_offset(target_phys_addr_t start_addr,
2307 2306 if ((phys_offset & ~TARGET_PAGE_MASK) <= IO_MEM_ROM ||
2308 2307 (phys_offset & IO_MEM_ROMD)) {
2309 2308 phys_offset += TARGET_PAGE_SIZE;
2310   - }else {
  2309 + } else {
2311 2310 target_phys_addr_t start_addr2, end_addr2;
2312 2311 int need_subpage = 0;
2313 2312  
... ...