public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Warren Jasper <wjasper@tx.ncsu.edu>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] interrupt handlers for the ARM SA1110
Date: Wed, 18 Jul 2001 07:49:00 -0000	[thread overview]
Message-ID: <200107181446.KAA10111@lx10.tx.ncsu.edu> (raw)

This is a directed to Gary Thomas, but any comments are welcome.

I have ported eCos to a development board with a BOPS's DSP and the
Intel SA1110.  The DSP has it's own interrupt controller (with 32
vectors or causes), so I would like to "cascade" that onto the current
port.  I am using GPIO6 and GPIO7 as interrupts from the DSP's
controller (ie, when the DSP's interrupt controller is configured
properly, GPIO6 will go high on a DSP interrupt).

My question is where or how is the best way to do this?  I looked in
sa11X0/var/current/src/sa11X0_misc.c as see some of the hooks, but am
unsure how to either override or append to that.  I need to set up a
secondary level of interrupts, which I would like to do in the HAL,
and not in the application code.  Where is the best place to append
more vectors?  If the name of my board is travis, do I have a
sa11x0/travis/current/plf_intr.h or hal_intr.h?  How does that
interface or override the one in sa11x0/var/current/{include,src} ?

I would rather not have to modify the var files so my cvs tree remains
consistant.

Where is the isr_springboard table like in the mips vrc4373 port?  I have ported
the BOPS's DSP to another board running the QED rm5231 MIPS CPU, so I thought
I was familiar with the basic eCos model for the HAL.

Also, what is the difference between say hal_interrupt_mask and
HAL_INTERRUPT_MASK other than the obvious that one is a function and
the other a macro.  Which one over-rides the other and where.


Thanks in advance,

	-- Warren

Warren J. Jasper
wjasper@tx.ncsu.edu

             reply	other threads:[~2001-07-18  7:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18  7:49 Warren Jasper [this message]
2001-07-18  8:23 ` Jonathan Larmour
2001-07-18  8:36 ` Gary Thomas
     [not found] <200107182025.QAA10475@lx10.tx.ncsu.edu>
2001-07-18 13:48 ` Gary Thomas
2001-07-19  8:33   ` Warren Jasper
2001-07-23  9:05 Warren Jasper
2001-07-23 10:10 ` Gary Thomas

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=200107181446.KAA10111@lx10.tx.ncsu.edu \
    --to=wjasper@tx.ncsu.edu \
    --cc=ecos-discuss@sources.redhat.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).