buffer locking for DMA?
- From: "Felix Kater" <fkater googlemail com>
- To: gtk-app-devel-list gnome org
- Subject: buffer locking for DMA?
- Date: Thu, 9 Mar 2006 20:13:42 +0000
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]