qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [5849] Change MMIO callbacks to use offsets, not absolu


From: Robert Reif
Subject: Re: [Qemu-devel] [5849] Change MMIO callbacks to use offsets, not absolute addresses.
Date: Mon, 23 Feb 2009 11:43:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14

Paul Brook wrote:
Should be fixed now.

Not really. This fixes that specific case but it doesn't fix the general case where a hardware device needs to call do_unassigned_access because the hardware device still only has the offset. You could store the physical base in each hardware device and recreate the physical address but that requires changing all hardware devices that need to do that. Why should the hardware drivers go through the trouble to recreate a physical address when just a few instructions before then the physical address was known but irreversibly destroyed when it was converted to an offset.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]