From: Gary Thomas <gthomas@redhat.com>
To: Ivan Griffin <ivan.griffin@parthus.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: RE: [ECOS] cyg_interrupt_set_vsr and ARM AEB-1
Date: Tue, 30 May 2000 13:35:00 -0000 [thread overview]
Message-ID: <XFMail.000530143457.gthomas@redhat.com> (raw)
In-Reply-To: <002f01bfca75$7f9ddde0$ef0fa8c0@sslinc.com>
On 30-May-00 Ivan Griffin wrote:
> 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();
> }
>
What does it appear to do [if not work]?
next prev parent reply other threads:[~2000-05-30 13:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-30 13:27 Ivan Griffin
2000-05-30 13:35 ` Gary Thomas [this message]
2000-05-30 13:55 ` Ivan Griffin
2000-05-31 6:00 ` Hugo Tyson
2001-09-05 0:10 ` Hugo Tyson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=XFMail.000530143457.gthomas@redhat.com \
--to=gthomas@redhat.com \
--cc=ecos-discuss@sourceware.cygnus.com \
--cc=ivan.griffin@parthus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).