mirror of https://github.com/xemu-project/xemu.git
Cosmetic cleanups to previous patch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5852 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
53762ddb27
commit
0e8f096751
1
exec.c
1
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. */
|
IO_MEM_ROMD uses these as a ram address. */
|
||||||
iotlb = (pd & ~TARGET_PAGE_MASK);
|
iotlb = (pd & ~TARGET_PAGE_MASK);
|
||||||
if (p) {
|
if (p) {
|
||||||
/* FIXME: What if this isn't page aligned? */
|
|
||||||
iotlb += p->region_offset;
|
iotlb += p->region_offset;
|
||||||
} else {
|
} else {
|
||||||
iotlb += paddr;
|
iotlb += paddr;
|
||||||
|
|
Loading…
Reference in New Issue