I need a physically contiguous page-locked buffer and its PhysicalMemory Address (not the pointer) for a DMA function.
But I do not fine a function could help with that.
I know a function called "get_free_page" in Linux, but there is no similar function in Windows and CVI
But I already found that in CVI ,there is WriteToPhysicalMemoryEx/ReadFrome.... direct Physical Memory access function, and I think there should be same direct Physical Memory allocate function that I do not know.
So, please help me with allocate a Physical Memory or get the Physial Memory address of a buffer allocated by malloc().
Futian
China