This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LPC2xxx patch for support of vectored interrupt controller


Hello Hans,

I have to admit that I did not care about drivers that use interrupt priority 0 when I created the support for VIC controller in LPC2xxx variant. In current VIC support I decided to use 16 as the priority of the interrupts that do not use VIC - this is the formerly behaviour of the LPC2xxx interrupt support and of interrupts that use priority 0.

Another solution for this problem would be to invert interrupt priorities. That means interrupt priority 0 is the lowest interrupt priority and interrupt 16 is the highest priority. So if the drivers use interrupt level 0 they would fall back to the old (slower) interrupt handling. But that would not fix the test case that creates 2 interrupts of level 1.

I think your solution is cleaner - thank you for creating this patch

Best Regards,

Uwe


Dipl. Inf. (FH) Uwe Kindler Software Engineering

--

cetoni GmbH
Am Wiesenring 6
D-07554 Korbussen

Tel.: +49 (0) 36602 338 28
Fax:  +49 (0) 36602 338 11
uwe.kindler@cetoni.de
http://www.cetoni.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]