Disabling interrupts

Pavel Roskin pavel_roskin at geocities.com
Fri Mar 24 08:58:52 EST 2000

Hello, Cort!

> Does it have to be a user mode piece of code?  You're going to have real
> trouble figuring that out if so.  Could you put that small portion of code
> into a kernel module and just load it from your user program to do what it
> needs to?

Well, this code needs to read some data continously. Then the data must
be processed and written to a file.

If you expect problems, I could create a new syscall and pass a buffer to
it. Probably this should be Ok. But the buffer can be huge (comparable
with the RAM size), so I would like to avoid copying data. This means that
the kernel needs to write to the userspace buffer directly.

Thank you for the reply.

Pavel Roskin

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-embedded mailing list