comp.lang.ada
 help / color / mirror / Atom feed
* Interrupt Handlers using GNAT-VxWorks?
@ 1999-10-14  0:00 John Arnsparger
  1999-10-14  0:00 ` Rick Stikkers
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: John Arnsparger @ 1999-10-14  0:00 UTC (permalink / raw)


I am trying to attach an interrupt handler (procedure) to Vector #29
(decimal) on the mvme167
board using Ada95 "protected" constructs.  I have tried
Ada.Interrupts.Attach_Handler,
which results in "Program_Error: Trying to overwrite a static Interrupt
Handler" with a dynamic handler".

I have also tried the "pragma Attach_Handler", which produces a run-time
error saying
"Unitialized Interrupt".

Both of these were declared in package bodies.

Does anyone have any helpful hints or examples of successfully doing this
with GNAT-Works m68K?  Or pointers to better references than the LRM? :-)

Thanks.


John M. Arnsparger
Lockheed Martin Space Operations
 e-mail john.arnsparger1@jsc.nasa.gov
 Phone (281) 244 9693
 Fax (281) 244 9681








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

end of thread, other threads:[~1999-10-18  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-14  0:00 Interrupt Handlers using GNAT-VxWorks? John Arnsparger
1999-10-14  0:00 ` Rick Stikkers
1999-10-15  0:00 ` Martin Gangkofer
1999-10-16  0:00 ` Toshitaka Kumano
1999-10-18  0:00   ` Robert Dewar

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