From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUx46-0002Nu-9C for qemu-devel@nongnu.org; Mon, 31 May 2004 20:23:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUx44-0002M1-Ed for qemu-devel@nongnu.org; Mon, 31 May 2004 20:23:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUx44-0002Lv-10 for qemu-devel@nongnu.org; Mon, 31 May 2004 20:23:36 -0400 Received: from [213.146.130.142] (helo=trantor.org.uk) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BUx3j-0005tX-CP for qemu-devel@nongnu.org; Mon, 31 May 2004 20:23:15 -0400 Subject: Re: [Qemu-devel] [PATCH,RFC]: PCI Host Proxy v0.1 From: Gianni Tedesco In-Reply-To: <1086048756.21922.39.camel@sherbert> References: <1086023781.21903.23.camel@sherbert> <1086048281.21903.33.camel@sherbert> <1086048756.21922.39.camel@sherbert> Content-Type: text/plain Date: Tue, 01 Jun 2004 01:22:51 +0100 Message-Id: <1086049371.21903.44.camel@sherbert> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, 2004-06-01 at 01:12 +0100, Gianni Tedesco wrote: > And can i still make the change to cpu_register_io_memory to pass down > an opaque pointer? Actually this would be nicer on the > cpu_register_phys_mem, but that'd be an impact on hot-paths i guess so > I'll just have to work around it in pciproxy. Actually it would be better served all round if I added an IO_MEM_CALLBACK and added a simple infrastructure to do: cpu_register_callback_mem(addr, len, read_cbfn, write_cbfn); That way there'd only be a lookup cost with something that used it. I'll hack up a patch to do that. And post it when ready. -- // Gianni Tedesco (gianni at scaramanga dot co dot uk) lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D