public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Interrupts handling?
@ 2005-03-15 13:14 Garcia Jérémie
  2005-03-15 16:47 ` James Chapman
  0 siblings, 1 reply; 2+ messages in thread
From: Garcia Jérémie @ 2005-03-15 13:14 UTC (permalink / raw)
  To: linuxppc-dev

Hi everybody,

Although I am a newbie in linux powerPC development, I am in charge of a =
related project.
The project is the following: I have to move a vXWorks application to a =
Linux (montavista) environnment with a 405EP processor. Unfotunately, my =
knowledges are very limited in BSP and with all the board specific =
functions (device drivers too...).
In my application, we assign IRQ only at its early beginning and we =
never change them after. Furthermore, this application uses an OS API =
layer in order to make it independant of the OS used. For exemple we =
encapsulate all the OS calls in this layer ; as that we theoretically =
only have to change this file to use another OS. To finish, we use POSIX =
pthreads to get an equivalent of vxWorks tasks.
Giving that, here are my questions:

 - is it possible to write a driver in this "file" (OS API Layer) or =
wherever I want?
 - do I need to use kernel modules even if I need to register my driver =
only one time?
 - is it possible for my application to register itself a driver or is =
it only a "kernel job"?
 - I have to map other vxWorks routines as "intEnable", "intDisable" =
which respectively enable/disable specified interrupt bit : may I use =
the linux equivalent "enable_irq" and "disqble_irq" and that wherever =
and whenever I want? (same question for the "request_irq" routine)=20

Tks a lot for your precious help cause over here I am really alone on =
that project and none use Linux!

J=E9r=E9mie

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

end of thread, other threads:[~2005-03-15 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 13:14 Interrupts handling? Garcia Jérémie
2005-03-15 16:47 ` James Chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox