This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Printf and diag_printf


On Mon, Nov 22, 2004 at 09:24:51PM +0530, sandeep wrote:
> >diag_printf() is none realtime. It disables interrupts while doing its
> >printing. So if you have a low priority function doing a diag_printf
> are you talking of diag_printf in packages/infra/current/src/diag.cxx ??
> but that doesn't disable interrupts while doing printing.
> there must be something i am missing.

hal/commen/current/src/hal_if.c:cyg_hal_diag_mangler_gdb_flush().

Disables interrupts before pushing output down to redboot and
reenables them afterwards.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]