Re: Sharing data between driver and application



You can buffer the teletext data in a FIFO in your driver, the user
application can use ReadFile or DeviceIOControl to read out
the data. Or maybe you can create a write message queue in the driver wher
you will put the data and read the queue from the application
--

Luca Calligaris
l.calligaris.nospam@xxxxxxxxxxxxxxxxxx
www.eurotech.it

"Maarten" <Maarten@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:825822BE-0DA1-4F15-B52F-700716BDE73E@xxxxxxxxxxxxxxxx
Hi,

I'm having the following situation: My TV-input driver writes video pages
trough DMA into memory. A second process (either a 2D DMA or a memory
copy)
picks out certain elements (ancillary teletext data) and writes them to a
fifo.

How can I make this FIFO available to my user application? (share it
between
the driver and application)

regards,
--
Maarten


.



Relevant Pages

  • RE: Accessing memory filled by a DMA process
    ... memory location you are interested in. ... my video driver fills a part of memory with teletext data. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Developing interrupt driven serial driver
    ... My next task is to make this driver codebase interrupt driven. ... deassert CTS so that the DTE would stop sending when the FIFO is full. ... interrupt handler for the receiver put the data into a larger buffer ...
    (comp.arch.embedded)
  • Developing interrupt driven serial driver
    ... I am writing driver code for the serial communications interface of the TI TMS320F2812. ... I am first trying to understand all of the reasons for using interrupts, and what the range of implementation possiblities might be. ... the simplest case would be to have the FIFO threshold interrupt handler deassert CTS so that the DTE would stop sending when the FIFO is full. ... By having the interrupt handler for the receiver put the data into a larger buffer than the 16 byte FIFO, and base the CTS state on the condition of the larger buffer rather than the FIFO then the user code can process data in larger chunks and less frequently. ...
    (comp.arch.embedded)
  • Re: [MeeGo-Dev][PATCH v3] Topcliff: Update PCH_CAN driver to 2.6.35
    ... We are testing our CAN driver with FIFO mode. ... Recv packet-A from NW and set to FIFO. ... Userspace Copies A from Driver ...
    (Linux-Kernel)
  • Re: Sharing data between driver and application
    ... a named mutex, since you might easily be talking about separate processes, ... I decided to use the IOCTL solution, where a FIFO is onstantly filled by ... If you need to process all the teletext data from every TV frame you ... may use a Point-to-Point message queue as Luca and Bruce suggested. ...
    (microsoft.public.windowsce.platbuilder)