design of interface b/w application module and device drivers
From: nikhil bhargav (nikhilbhargav_nsit_at_indiatimes.com)
Date: 10/25/04
- Next message: Todd Knarr: "Re: design of interface b/w application module and device drivers"
- Previous message: Kasper Dupont: "Re: Why use copy_from_user/copy_to_user ?"
- Next in thread: Todd Knarr: "Re: design of interface b/w application module and device drivers"
- Reply: Todd Knarr: "Re: design of interface b/w application module and device drivers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Oct 2004 23:11:35 -0700
hi all,
I am working on developing an efficient interface between application
layer modules and device drivers for an optoelectronic module. The
operating system used is XRTS which is a real time variant of Unix.
Presently, the interface between applications and device driver is
this way. All device drivers are in form of long ISRs whcih does much
of processing and whatever communication that needs to be done between
them is done via using global variables between the device driver and
the application module using the device. Here since the kernel is
pre-emptive so issues of concurrency doesnot arise although race
conditions do exist.
However, now I have to make the kernel preemptive and develop a new
interface between application modules and device drivers, since the
present design has so many fallacies. I have thought of using
something like the filesystem in Linux wherein, I will enumerate each
device by a unique identifier. To access a device, i open a connection
with it via a call similar to open() and thereafter i could read from
it using a call like read ().
I want to know two things
1. How is the interface provided in linux OS?
2. Is this design worth moving forward?
Any good web reference on the design of interface b/w Application
modules and Device drivers would be highly appreciated.
cheers,
nikhil
- Next message: Todd Knarr: "Re: design of interface b/w application module and device drivers"
- Previous message: Kasper Dupont: "Re: Why use copy_from_user/copy_to_user ?"
- Next in thread: Todd Knarr: "Re: design of interface b/w application module and device drivers"
- Reply: Todd Knarr: "Re: design of interface b/w application module and device drivers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|