Re: [Xenomai-help] xnpod help

2006-06-02 Thread Gilles Chanteperdrix
Brandt Erickson wrote: Ok, things get clearer. But why a kernel module? Are you *that* short on CPU cycles? The reason why I'm trying to develop a kernel-space application is not for latency issues but because I need to be in kernel-space to read/write to/from my DAC. There are

[Xenomai-help] shm_open, ftruncate

2006-06-02 Thread Lionel Perrin
Hi, I got some problems with shared memory. I started from the shm_open example from opengroup.org. When I compile it as non real time tasks, it works properly. But since I tried to compile it with gcc $(xeno-config --posix-cflags) shm_open.c $(xeno-config --posix-ldflags) -o xeno_shm_open, i

Re: [Xenomai-help] shm_open, ftruncate

2006-06-02 Thread Gilles Chanteperdrix
Lionel Perrin wrote: Hi, I got some problems with shared memory. I started from the shm_open example from opengroup.org. When I compile it as non real time tasks, it works properly. But since I tried to compile it with gcc $(xeno-config --posix-cflags) shm_open.c $(xeno-config

Re: [Xenomai-help] xnpod help

2006-06-02 Thread Brandt Erickson
ioperm() or iopl() not applicable? I'm not sure. I'm using a Sensoray S626 card (PCI). The driver I have is something I pieced together from psuedo-working code I got from someone else, so I'm not entirely sure how it works (or if it's even rt-safe). -Brandt