Re: PCI device driver question
- From: ellis@xxxxxxx ()
- Date: Fri, 22 Dec 2006 00:57:25 -0000
In article <1166736838.855581.113720@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
elliotng.ee@xxxxxxxxx <elliotng.ee@xxxxxxxxx> wrote:
Now instead of hard-coding what to write in the memory region, I want
to input a file, read the file, and write the appropriate contents to
the memory region. What are the appropriate steps to do that? It seems
as though that I cannot use the library stdio in pci device drivers. Is
there another library that contains file IO?
Look in the kernel source for examples of sys_open, sys_read, etc.
--
http://www.spinics.net/lists/
.
- Follow-Ups:
- Re: PCI device driver question
- From: elliotng.ee@xxxxxxxxx
- Re: PCI device driver question
- References:
- PCI device driver question
- From: elliotng.ee@xxxxxxxxx
- PCI device driver question
- Prev by Date: Re: If pipe excellent?
- Next by Date: Re: finding the full path of the program which ran.
- Previous by thread: PCI device driver question
- Next by thread: Re: PCI device driver question
- Index(es):