public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] cyg_interrupt_set_vsr and ARM AEB-1
@ 2000-05-30 13:27 Ivan Griffin
  2000-05-30 13:35 ` Gary Thomas
  2000-05-31  6:00 ` Hugo Tyson
  0 siblings, 2 replies; 5+ messages in thread
From: Ivan Griffin @ 2000-05-30 13:27 UTC (permalink / raw)
  To: ecos-discuss

I'm trying to do the following in cyg_prestart() to hook the IRQ and FIQ
interrupts on the ARM AEB-7.  Can anyone tell me why the following code
doesn't appear to work?

#define ARM_IRQ_INTR 0x18
#define ARM_FIQ_INTR 0x1c

extern void IRQ_Veneer(void);
extern void FIQ_Handler(void);

void cyg_prestart(void)
{
    cyg_interrupt_disable();
    cyg_interrupt_set_vsr(ARM_IRQ_INTR, (cyg_VSR_t*)IRQ_Veneer);
    cyg_interrupt_set_vsr(ARM_FIQ_INTR, (cyg_VSR_t*)FIQ_Handler);
    cyg_interrupt_enable();
}

Best Regards,
Ivan.

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

end of thread, other threads:[~2001-09-05  0:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-30 13:27 [ECOS] cyg_interrupt_set_vsr and ARM AEB-1 Ivan Griffin
2000-05-30 13:35 ` Gary Thomas
2000-05-30 13:55   ` Ivan Griffin
2000-05-31  6:00 ` Hugo Tyson
2001-09-05  0:10   ` Hugo Tyson

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 read-only IMAP folder(s) and NNTP newsgroup(s).