This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Cortex interrupt priority
- From: "simon dot kallweit at intefo dot ch" <simon dot kallweit at intefo dot ch>
- To: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 07 Oct 2008 11:49:27 +0200
- Subject: [ECOS] Cortex interrupt priority
Hi
I just had some thoughts about the cortex port's interrupt priorities.
The kernel will have to reserve the highest priority (0) for SVC
exceptions, therefore preventing device drivers or application code to
use it. I see too ways of achieving this, we can either change the
assert in the interrupt set_level() function to check for a priority
greater than 0, or we could transform the priority, so the user can use
priorities starting from 0. What do you think makes more sense?
Simon
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss