Date: Thu, 26 May 2011 13:23:35 -0700 From: Nate Lawson <nate@root.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: acpi@FreeBSD.org Subject: Re: paper on reverse-engineering drivers Message-ID: <4DDEB6C7.6070409@root.org> In-Reply-To: <4DDEB5CC.4050500@FreeBSD.org> References: <4DDEA91F.8080008@root.org> <4DDEB5CC.4050500@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/26/2011 1:19 PM, Andriy Gapon wrote: > on 26/05/2011 22:25 Nate Lawson said the following: >> This might be a useful source for making ACPI compatible with Windows. >> >> http://dslab.epfl.ch/pubs/revnic >> >> I had thought of a project like this before. My idea was to take QEMU >> and map PCI config space and allow direct access to the bare hardware >> for only one device. The developer would install Windows in this QEMU >> image on a system with the target device, identify it by its PCI id, and >> then run Windows normally. The VM would log the driver's accesses to >> config space as well as use CoW semantics for DMA accesses to memory and >> IO ports. > > Something like this? > http://www.serialice.com/News/News.html > >> Now that Intel/AMD support hardware virtualization and DMA isolation, it >> would be better to do this with a modified Xen hypervisor. Yes, that is a nice project but requires flashing firmware. With hardware virtualization you can trap all IO accesses and do this in software. -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DDEB6C7.6070409>
