* [Qemu-devel] [PATCH][FYI] Remove address masking for non-Sparc hardware
@ 2008-12-07 15:09 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-12-07 15:09 UTC (permalink / raw)
To: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
Hi,
As the address supplied to MMIO functions is now an offset, some of
the address masking can be removed. I did this for Sparc, this patch
removes most of the remaining ones.
I tried to check that the size of the area registered matches the
removed mask size, the area size is static and the function is not
used also for IO port access which uses absolute port numbers. In
RTL8139 case the common function performs the operation.
I have not tested the patch otherwise, so I won't apply it but offer
the patch for testing and cherry picking.
[-- Attachment #2: remove_address_masking_rest.diff --]
[-- Type: plain/text, Size: 25805 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-07 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 15:09 [Qemu-devel] [PATCH][FYI] Remove address masking for non-Sparc hardware Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).