Re: File operations on a Windows Driver (character device)

2015-05-27 Thread Alessio Faina
h every new "open" made from userspace so that a userspace program can use the poll indifferently if compiled under Cygwin or under a native environment. What I don't know is if this way is a smart one or if there is a clever way to do this: have you got something to suggest? Thanks ve

Re: File operations on a Windows Driver (character device)

2015-05-21 Thread Alessio Faina
ave the time to clean the code... -Alessio 2015-05-20 3:19 GMT+02:00 Mark Geisert : > Alessio Faina writes: >> Well.I wrote and answered myself the question you pointed out that >> is residing on stackoverflow > > Oh, small world :) > >> It was my first opt

Re: File operations on a Windows Driver (character device)

2015-05-19 Thread Alessio Faina
the need to do something like I'm trying to do. 2015-05-19 9:52 GMT+02:00 Mark Geisert : > Alessio Faina writes: >> Ok thanks, I've been able to find the character device under >> "/proc/sys/DosDevices/Global/deviceName"; now I'm stuck with the mmap >&g

Re: File operations on a Windows Driver (character device)

2015-05-18 Thread Alessio Faina
haven't set anything in the kernel module; there's a way to make visible a portion of memory to be used by the mmap in the kernel? The memory is Non Paged and allocated with a ExAllocatePoolWithTag in 'win terms'. 2015-05-18 16:47 GMT+02:00 Larry Hall (Cygwin) : > On 05/18/2015

File operations on a Windows Driver (character device)

2015-05-18 Thread Alessio Faina
Hello everyone, I'm developing a port of a FreeBSD/Linux application that consists of two parts: a kernel and a user land part. The kernel part is build as a WDM driver and is compiled with VS2013 and WDK 8.1: the userspace is going to be compiled under Cygwin for compatibility with user land prog