mirror of
https://github.com/mii443/qemu.git
synced 2025-09-03 15:49:30 +00:00
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:
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;
|
||||||
|
Reference in New Issue
Block a user