public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Diff between VSR and Exception
@ 2003-11-18 17:37 Ottawa Guy
  2003-11-21 11:08 ` Nick Garnett
  0 siblings, 1 reply; 2+ messages in thread
From: Ottawa Guy @ 2003-11-18 17:37 UTC (permalink / raw)
  To: ecos-discuss

Hi,
ECOS has three types of vectors 

CYGNUM_HAL_VSR_XX
CYGNUM_HAL_INTERRUPT
CYGNUM_HAL_EXCEPTION 

CYGNUM_HAL_INTERRUPT is used for external interrupt.
However CYGNUM_HAL_VSR_XX,CYGNUM_HAL_EXCEPTION  sounds
like  processor interrupt. Eg MemMiss alignment, div
by zeor, etc.

What are the diff between CYGNUM_HAL_VSR_XX,
CYGNUM_HAL_EXCEPTION vectors. 
        Thanks
             Ottawa

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* Re: [ECOS] Diff between VSR and Exception
  2003-11-18 17:37 [ECOS] Diff between VSR and Exception Ottawa Guy
@ 2003-11-21 11:08 ` Nick Garnett
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Garnett @ 2003-11-21 11:08 UTC (permalink / raw)
  To: Ottawa Guy; +Cc: ecos-discuss

Ottawa Guy <ottawaguy81@yahoo.com> writes:

> Hi,
> ECOS has three types of vectors 
> 
> CYGNUM_HAL_VSR_XX
> CYGNUM_HAL_INTERRUPT
> CYGNUM_HAL_EXCEPTION 
> 
> CYGNUM_HAL_INTERRUPT is used for external interrupt.
> However CYGNUM_HAL_VSR_XX,CYGNUM_HAL_EXCEPTION  sounds
> like  processor interrupt. Eg MemMiss alignment, div
> by zeor, etc.
> 
> What are the diff between CYGNUM_HAL_VSR_XX,
> CYGNUM_HAL_EXCEPTION vectors. 

The CYGNUM_HAL_EXCEPTION_XXX names are standard names for various
types of exception. The CYGNUM_HAL_VSR_XX names are what the hardware
actually provides. In hal_intr.h or somewhere similar the
CYGNUM_HAL_EXCEPTION_XXX names are mapped on to the CYGNUM_HAL_VSR_XX
names. Then, if a portable piece of code wants to known whether a
given kind of exception is available it can test the
CYGNUM_HAL_EXCEPTION_XXX definition and use it to reference the
exception if it needs to. See the kernel except1 and kexcept1 tests
for an example.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2003-11-21 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18 17:37 [ECOS] Diff between VSR and Exception Ottawa Guy
2003-11-21 11:08 ` Nick Garnett

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).