Re: Getting a handle to a kernel driver (IISR)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Am Wed, 12 Apr 2006 10:21:37 -0400 schrieb Steve Maillet (eMVP):

directly if you wanted. The device manager just provides a standardized
method for multiple processes to get access to the driver.)

Well, that's the point.


I'd still say that an application taking a reading from an ADC at a random
point is a bad design for the app/driver. If the app is just randomly taking
readings whenever it feels like it what difference does it matter if it
takes a few more uS to do it? What criteria does the app use to decide when
to take a reading. Shouldn't the device driver be doing that? (This is what
I meant when I said that the typical problem is the driver is too thin a
layer on the hardware.)

I work for an OEM. It is our customers who write applications accessing the
hardware. As they don't want to bother with the ADC, DAC or whatever
directly, there has to be an abstraction layer. And as I don't know during
writing the driver when they will access the hardware, the access routines
have to be as fast as possible. The past showed that some of our customers
insist on RT and are counting every uS :-).

Additionally I have to use an existing code base for the drivers and the
API if I don't want to reinvent the wheel.


Regards
Max
.



Relevant Pages

  • Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation
    ... > problem without any special hardware at all: ... # The driver did use get_user_pagesto elevated the refcount on all the ... # to by the driver at the time that the app accessed the page causing the ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: SD card and File System in WinCE 5....?
    ... Because when unload/reload SD client driver, ... So if App is running,suspend and then resume the system, if we unload and ... App will pop a message to notify user that the SD card is removed. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Build virtual audio driver with Directsound and use with Skype?
    ... hardware with msvad.inf and the fuitable sys file. ... But when i start my app and Skype to talk with other people ... then the other only hear a strange sound, ... You've built a sound driver, this sound driver is a "do nothing" example ...
    (microsoft.public.win32.programmer.directx.audio)
  • [RFC] dev_acpi: device driver for userspace access to ACPI
    ... The basic concept of operation is that the ioctl operates on the ACPI ... The sample, proof-of-concept app, is called acpitree. ... You can find the driver and sample app here: ...
    (Linux-Kernel)
  • Pended IOCtrl + LoadLibrary == Deadlock?
    ... multithreaded app running on XP communicating with a software only NT ... style driver. ... this ioctrl which then makes the thread run and the command be executed. ... intact) the LoadLib is happy. ...
    (microsoft.public.development.device.drivers)