Mercurial > ecos
diff packages/kernel/current/tests/intr0.cxx @ 2266:13625e7b9d1f
Implement FIFO variant of scheduling of DSRs and make it the
default. This is reworked patch originally suggested by Stefan
Sommerfeld <sommerfeld@mikrom.com>.
* cdl/interrupts.cdl (CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST): make it
cdl_component.
* cdl/interrupts.cdl (CYGSEM_KERNEL_INTERRUPTS_DSRS_LIST_FIFO):
new option for CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST.
* include/intr.hxx (class Cyg_Interrupt): new static variable
dsr_list_tail.
* src/intr/intr.cxx (call_pending_DSRs_inner): add
CYGSEM_KERNEL_INTERRUPTS_DSRS_LIST_FIFO variant.
(post_dsr): likewise.
* tests/intr0.cxx: fix comments to match actual option names.
* tests/kintr0.c: likewise.2006-03-27 Marco Cruz <marco@daruma.com.br>
| author | nickg |
|---|---|
| date | Fri, 11 Aug 2006 09:29:31 +0000 |
| parents | d2c90368aeef |
| children | a18d24f79bca |
line wrap: on
line diff
--- a/packages/kernel/current/tests/intr0.cxx +++ b/packages/kernel/current/tests/intr0.cxx @@ -46,8 +46,9 @@ // Description: Very basic test of interrupt objects // Options: // CYGIMP_KERNEL_INTERRUPTS_DSRS_TABLE -// CYGIMP_KERNEL_INTERRUPTS_DSRS_TABLE_SIZE +// CYGNUM_KERNEL_INTERRUPTS_DSRS_TABLE_SIZE // CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST +// CYGSEM_KERNEL_INTERRUPTS_DSRS_LIST_FIFO //####DESCRIPTIONEND#### #include <pkgconf/kernel.h>
