summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-02 09:02:15 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-02 09:02:15 +0000
commit0e8f096751f279a8de01d9c66c87911ec431fa4c (patch)
tree7934b60ceb363edabe0fcab40fa8e10ff6c3200f /exec.c
parent53762ddb277c690e486d0e17b10591774248c8cf (diff)
downloadqemu-0e8f096751f279a8de01d9c66c87911ec431fa4c.tar.gz
Cosmetic cleanups to previous patch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5852 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index b03fe0f92c..58a0cffacb 100644
--- a/exec.c
+++ b/exec.c
@@ -1973,7 +1973,6 @@ int tlb_set_page_exec(CPUState *env, target_ulong vaddr,
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 @@ void cpu_register_physical_memory_offset(target_phys_addr_t start_addr,
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;