This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
dsr-list NULL
- From: Vinayak P Risbud <vinayak at multitech dot co dot in>
- To: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 04 Jul 2002 09:38:35 +0530
- Subject: [ECOS] dsr-list NULL
- Organization: Multi-Tech Software Systems
In drv_api.c (Kernel is not enabled) the in call_dsrs function
my "dsr_list" is always NULL. Can anyone tell me, where
and when exactly this dsr_list get enabled...
static void call_dsrs(void)
{
CYG_REPORT_FUNCTION();
while( dsr_list != NULL )
{
cyg_interrupt *intr;
cyg_int32 count;
CYG_INTERRUPT_STATE old_intr;
HAL_DISABLE_INTERRUPTS(old_intr);
intr = dsr_list;
dsr_list = intr->next_dsr;
count = intr->dsr_count;
intr->dsr_count = 0;
HAL_RESTORE_INTERRUPTS(old_intr);
intr->dsr( intr->vector, count, (CYG_ADDRWORD)intr->data );
}
CYG_REPORT_RETURN();
}
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss