buffer locking for DMA?



Hi,

I use glib on windows to allocate memory for a camera. Its DLL then
uses the memory and pass it to the kernel and fill it via DMA. I have
to be sure that windows doesn't move my buffer(s) later since the
kernel has built its allocation table using it.

With windows there are functions to prevent that (VirtualAlloc with
parameters for reserving and locking/unlocking), is there anything in
glib?

Felix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]