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] |
On Fri, Aug 17, 2007 at 07:13:23PM +0200, Hans Rosenfeld wrote: > On Fri, Aug 17, 2007 at 04:02:09PM +0200, Hans Rosenfeld wrote: > > A less simple solution would be to fix the drivers and the kintr0 test > > to use configurable priorities. If it wouldn't involve kintr0 I would > > just do that. I did some minor changes intr0 and kintr0 to use a configurable interrupt priority, which should be set to 16 for LPC2xxx systems. There is another change required to the LPC2xxx HAL. The above tests use hal_interrupt_configure() on some random interrupt vector, but this function contains a assertion to make sure that only external interrupts are configures. I think it would be better to change this assertion into a simple test, so that calling hal_interrupt_configure() with an un-configurable interrupt vector just does nothing. -- %SYSTEM-F-ANARCHISM, The operating system has been overthrown
Attachment:
priorities-kernel.diff
Description: Text document
Attachment:
hal_interrupt_configure.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |