AW: insmod: unresolved symbol sys_shmat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK. I've written a module which installs a interrupt handler
(the interrupt is a timer interrupt, generated by a cpm timer on
a mpc823 board), i.e. every x microseconds the module executes a
handling function.
The handling function should read/write from/to a shared memory
which can be accessed from a program that runs in user mode.
To synch. the access to the shm I wanted to use semaphores...

Or is there a way to write a interrupt handler in user mode which
is executed by the module on every timer interrupt?

Regards,
Juergen

-----Ursprüngliche Nachricht-----
Von: Muli Ben-Yehuda [mailto:mulix@mulix.org] 
Gesendet: Montag, 24. November 2003 16:11
An: Juergen Oberhofer
Cc: kernelnewbies@nl.linux.org
Betreff: Re: insmod: unresolved symbol sys_shmat

On Mon, Nov 24, 2003 at 02:28:27PM +0100, Juergen Oberhofer wrote:
> > If you want shared memory (or mutual exclusion) between the kernel
and
> > a user space process, that's where the fun starts. 
> 
> Hm thats exactly what I'd need...;)

In that case, I suggest you describe exactly what you're trying to do
(including why), and we may be able to suggest a way to do it. 

Cheers, 
Muli 
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

"the nucleus of linux oscillates my world" - gccbot@#offtopic



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux