Obtaining a PCI address vs a virtual address? 
Author Message
 Obtaining a PCI address vs a virtual address?

I am writing a DLL that labview accesses to do block DMA transfers from a
PCI device. The function that I am using (in the DLL) needs a known PCI
address for the buffer and not a virtual address (malloc()) or user address.
I intended for LabVIEW to pass a pointer of an array that would be filled by
the DMA transfer. This apparently won't work.

After I create an array in LabVIEW, the DLL can't change the size of this
array because it will overwrite data within LabVIEW.

1. How can I use the pointer (virtual address) from LabVIEW to do a DMA
transfer that requires a known PCI address (I assume a block of memory for a
buffer)?

2. How will my LabVIEW array be filled if the DMA is filling a different
block of memory?

3. Can this memory area (the PCI buffer block) be moved to the array
location? If so, how?

4. How can I obtain a block of memory with a known PCI address?

I appreciate all the help I can get

Thanks

D



Sun, 20 Apr 2003 00:05:22 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Obtaining physical memory address from virtual memory address?

2. Help wanted: Addressing PCI memory-mapped device above 16mB

3. Question:obtaining local ip address

4. NEWBIE: Obtain address of parallelport under windows

5. obtain class member function address?

6. How to Obtain IP address programatically

7. Is a an Win32 API to obtain the MAC address of the NIC

8. Obtaining Inet IP Address when using a Router

9. How to obtain the mac address ?

10. Function to obtain local IP Address?

11. Obtaining your IP Address

12. ### Obtain own IP-Address ###

 

 
Powered by phpBB® Forum Software