From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lblqn-0002jO-PW for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:12:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lblqm-0002iu-91 for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:12:45 -0500 Received: from [199.232.76.173] (port=39287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lblqm-0002ir-6Z for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:12:44 -0500 Received: from mx20.gnu.org ([199.232.41.8]:40260) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lblql-00056Y-Vw for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:12:44 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lblql-00044H-3c for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:12:43 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [5849] Change MMIO callbacks to use offsets, not absolute addresses. Date: Tue, 24 Feb 2009 01:12:27 +0000 References: <200902240030.29683.paul@codesourcery.com> <49A347DD.3030906@earthlink.net> In-Reply-To: <49A347DD.3030906@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902240112.28240.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Robert Reif Cc: qemu-devel@nongnu.org > How do you propose having the hardware drivers generate meaningful and > timely faults when an improper access is performed so it behaves like real > low level software expects the hardware to behave? If you're wanting to generate faults from IO devices then getting the right physical address is the least of your concerns. First you need to figure out how to avoid corrupting the rest of the CPU state. Paul