vmapbuf (was:Which O/S routines are subject to change?)

1999-05-11 Thread Stan Shkolny
Well, I see that I need to ask a more precise question. My character device driver receives a pointer to a user data buffer in the user's address space. I need to DMA those data. For this, I need to bring the pages into memory and lock them before initiating the DMA. My book tells about physio().

Q: Ensure proper struct packing

1999-05-13 Thread Stan Shkolny
Hi All, What is the best way to ensure that compilation of an IOCTL packet structure in both a driver and an application will generate the same offsets to structure members. Thanks, Stan To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the m

Re: vmapbuf (was:Which O/S routines are subject to change?)

1999-05-16 Thread Stan Shkolny
-Original Message- From: Mike Smith Date: Sunday, May 16, 1999 3:08 PM >> My character device driver receives a pointer to a user data buffer in the >> user's address space. I need to DMA those data. For this, I need to bring >> the pages into memory and lock them before initiating the DM