[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RFC: new RTEMS IRQ requirements
- Date: Thu, 20 Feb 2003 23:41:10 +0100
- From: eric.valette at free.fr (Valette Eric)
- Subject: RFC: new RTEMS IRQ requirements
Joel Sherrill wrote:
> I wouldn't mind seeing the implementation either call the PIC vectoring
> code as a subroutine or be broken into "prologue" and "epilogue" files
> which
> are concatenated with a "PIC vectoring" file to do the BSP/PIC specific
> dirty work.
>
> I know it is an implementation detail but I don't like duplication and
> I especially don't like duplicating code like the ISR handling code.
> I am sure Till is tired of looking at all the various versions of the
> same PPC assembly code by now. :)
May I suggest to use m4 macros instead of cpp
------------------ sample ---------------------
define(INTR_BASE_NUMBER, 192)
define(`INTR_ENTER',`
/
/ save scratch registers
/
pushl %eax
pushl %ecx
pushl %edx
movl $ $1 + INTR_BASE_NUMBER, %ecx
')
ENTRY(irq0)
INTR_ENTER(0)
jmp common;
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr
- References:
- The eCos, QNX, ChorusOs irq handling API
- From: eric.valette at free.fr (Valette Eric)
- The eCos, QNX, ChorusOs irq handling API
- From: osv at javad.ru (Sergei Organov)
- The eCos, QNX, ChorusOs irq handling API
- From: eric.valette at free.fr (Valette Eric)
- The eCos, QNX, ChorusOs irq handling API
- From: osv at javad.ru (Sergei Organov)
- The eCos, QNX, ChorusOs irq handling API
- From: eric.valette at free.fr (Valette Eric)
- The eCos, QNX, ChorusOs irq handling API
- From: osv at javad.ru (Sergei Organov)
- The eCos, QNX, ChorusOs irq handling API
- From: eric.valette at free.fr (Valette Eric)
- The eCos, QNX, ChorusOs irq handling API
- From: strauman at slac.stanford.edu (till)
- The eCos, QNX, ChorusOs irq handling API => resent message has been trcunacted due to a linux crash
- From: eric.valette at free.fr (Valette Eric)
- RFC: new RTEMS IRQ requirements (was: The eCos, QNX, ChorusOs irq handling API)
- From: strauman at SLAC.Stanford.EDU (Till Straumann)
- RFC: new RTEMS IRQ requirements (was: The eCos, QNX,ChorusOs irq handling API)
- From: joel.sherrill at OARcorp.com (Joel Sherrill)