From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Sergei Slobodov Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] interrupts always enabled in scheduler Date: Tue, 16 Jan 2001 23:04:00 -0000 Message-id: <3A65434F.B521A752@redhat.com> References: <3A64CEAE.4060300@caracal-tech.com> <3A64F30F.D5D06970@redhat.com> <3A651FEE.2090001@slobodov.com> X-SW-Source: 2001-01/msg00277.html Sergei Slobodov wrote: > > Thanks! That makes sense. I assumed that since the config tool allows > configuration with kernel but without DSRs, eCos ISR is allowed to > resume or suspend a thread directly, without resorting to DSR. If this > assumption is wrong, why is including kernel without DSR support not > flagged as a configuration conflict? What that means is that if you need to resume or suspend a thread, you will need DSRs. Not everyone needs to do thread operations when they receive interrupts, so DSRs are an option that can be disabled. The kernel doesn't know what you want to put in your ISRs. But no matter what you can't do thread operations from ISRs. Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine