RTDM_EXCLUSIVE
Hi,
I tested my driver with and without the device_flags RTDM_EXCLUSIVE. My test application wrote in C++ and compiled with gcc 4.3.2, crashs the kernel at the first called function "rt_dev_open" without RTDM_EXCLUSIVE and works fine if RTDM_EXCLUSIVE is set.
Nothing use the driver except this test application.
does anyone have an idea of the reason of this problem ?
Thank,
Marcel
Quoted 9 lines · Marcel Soulot
Hi,
I tested my driver with and without the
device_flagsRTDM_EXCLUSIVE. My test application wrote in C++ and compiled with gcc 4.3.2, crashs the kernel at the first called function "rt_dev_open" withoutRTDM_EXCLUSIVEand works fine ifRTDM_EXCLUSIVEis set.
Nothing use the driver except this test application.does anyone have an idea of the reason of this problem ?
As we already told you: send us everything that will allow us to reproduce the problem, that is at least a working (I mean something that will not need anything else) kernel-space driver and user-space program.
Signature · 1 line
Gilles.