Mercurial > ecos
diff packages/hal/mips/tx39/current/include/variant.inc @ 50:a0774359f013 ecos-sw-1999-11-02
Merge from eCos master repository on 1999-11-02-17:02:15-GMT
| author | jlarmour |
|---|---|
| date | Tue, 02 Nov 1999 20:57:07 +0000 |
| parents | e7ba79f6d3a8 |
| children | c38311975d4f |
line wrap: on
line diff
--- a/packages/hal/mips/tx39/current/include/variant.inc +++ b/packages/hal/mips/tx39/current/include/variant.inc @@ -213,6 +213,17 @@ lb \vnum,0(v0) # load it .endm +#ifndef CYGPKG_HAL_MIPS_INTC_TRANSLATE_DEFINED +#ifdef CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN + .macro hal_intc_translate inum,vnum + move \vnum,zero # Just vector zero is supported + .endm +#else + .macro hal_intc_translate inum,vnum + move \vnum,\inum # Vector == interrupt number + .endm +#endif +#endif # This table translates from the 6 bit value supplied in the IP bits # of the cause register into a 0..16 offset into the ISR tables.
