This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Enable EDB7xxx interrupts
- To: "'Gary Thomas'" <gthomas at cambridge dot redhat dot com>
- Subject: RE: [ECOS] Enable EDB7xxx interrupts
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Mon, 25 Jun 2001 12:25:11 -0600
- Cc: "'Lewin A.R.W. Edwards'" <larwe at larwe dot com>,"'eCos discussion'" <ecos-discuss at sources dot redhat dot com>
- Organization: Extreme Engineering
> Did you use the create_interrupt() mechanism to attach to
> this interrupt? If not, the system will see it, treat it as
> spurious and simply clear and ignore it.
>
> The whole idea of having the OS handle this stuff is so that common
> mechanisms work, at least in a similar fashion, across
> different platforms. Because of that, you can't really expect
> to just poll registers to see what's happening.
Ya, I understand the fact that I should be using the eCos functions. I
just figured I might not HAVE to. But, it makes total sense now.
Thanks Gary.