Re: [linux-audio-dev] Linux Driver for Creamware Luna II

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Linux Driver for Creamware Luna II
From: Paul Davis (pbd_AT_Op.Net)
Date: Fri Nov 09 2001 - 03:45:28 EET


>> unless you can figure out what the interesting address ranges are and
>> then find only the assignments to locations within those ranges, no
>> debugger or anything will help reverse engineer this kind of design.
>
>Ah, but we can (with PCI at least). /proc/pci is your friend.

Ah, but you can't :) First of all, there is no guarantee that the PCI
addresses will be the same under Windows, so /proc/pci may not be much
of a guide. Secondly, and more significantly, /proc/pci tells you the
physical addresses where PCI devices live. When a driver is writing to
the device, its typically writing to the virtual address to which the
physaddr has been mapped. I believe this is true under Windows; its
nearly always true under Linux.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Nov 09 2001 - 03:43:01 EET