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: redirecting diag to nil


On Wed, 2004-07-21 at 01:54, Øyvind Harboe wrote:
> Q: is there a builtin facility in eCos redirect diag to the
> bit-bucket?
> 
> 
> I used the attached changes to redirect diag over JTAG.

Why not just call diag_init_putc() with a function that is the bit
bucket?  Look at how this is used in RedBoot.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
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]