linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mpc / linux kernel - user space
@ 2003-11-27 16:07 Juergen Oberhofer
  2003-11-27 17:38 ` Jaap-Jan Boor
  2003-11-28  5:34 ` Sampath Kumar
  0 siblings, 2 replies; 14+ messages in thread
From: Juergen Oberhofer @ 2003-11-27 16:07 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I have a module and an application program in user space:

The Module performs the following task: at init it initializes the cpm
timer register of the mpc823,
such that an interrupt is generated every x microseconds. Thus, I
installed an interrupt handling function f that handles the timer
interrupts.

My problem is that the module / the interrupt handling function should
execute a procedure defined in the application program. How can I pass a
pointer (which points to that function) from the appl.program to the
module, such that the handler can execute this function every x
milliseconds? I thought to create a procedure in the module that accepts
a function pointer as argument. But how can I achieve, that this module
procedure is visible to the application program? Does somebody have a
suggestion or know another way to do it?

Regards,
Juergen


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-12-14 15:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27 16:07 mpc / linux kernel - user space Juergen Oberhofer
2003-11-27 17:38 ` Jaap-Jan Boor
2003-11-27 18:08   ` Juergen Oberhofer
2003-11-27 19:28     ` Dan Kegel
2003-11-28  4:30       ` How to change /proc to the writable directory John Zhou
2003-11-28  8:12         ` Wolfgang Denk
2003-11-28  9:16     ` mpc / linux kernel - user space Jaap-Jan Boor
2003-11-28 15:42       ` Dan Malek
2003-12-01  8:18         ` Jaap-Jan Boor
2003-12-01 12:51           ` Peripherals Memory Mapping Kevin A. Sapp
2003-12-14 15:28             ` Paul Miller
2003-12-01 13:47           ` mpc / linux kernel - user space Juergen Oberhofer
2003-11-28  5:34 ` Sampath Kumar
2003-11-28  8:14   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).