This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cyg_hal_diag_mangler_gdb_putc vs. interrupt latency
- From: Hiroshi Lockheimer <hiroshi at good dot com>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 16 Jan 2002 23:14:08 -0800
- Subject: [ECOS] cyg_hal_diag_mangler_gdb_putc vs. interrupt latency
Hi there,
Just curious what the intent of the HAL_DISABLE_INTERRUPTS is in
cyg_hal_diag_mangler_gdb_putc (hal_if.c)?
When debugging an application with many printfs over gdb, this can kill our
interrupt latency...they can be disabled for more than 50ms, because of
printf! During those 50ms we need to service a separate UART's RX interrupts
or else we start dropping data there.
Would it be safe to modify this function to mask the interrupt that services
gdb's stream only (for example masking gdb's UART's interrupts only), or
does it really have to disable *all* interrupts?
Thanks,
Hiroshi