This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Redboot Library routines support
- From: "Chris Zimman" <czimman at bloomberg dot com>
- To: "mukund jampala" <mukund dot linux at gmail dot com>, "ecos-discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 29 Oct 2008 20:23:04 -0400
- Subject: RE: [ECOS] Redboot Library routines support
> If suppose I have a straight C coded hardware driver with malloc,
> printf, what would it take to get it ported to redboot. does redboot
> have all that library functions. How do I know what library functiosn
> are supported in redboot env.
Hi Mukund,
Are you asking about porting a driver to work in Redboot? If so, there are
basic printf (eg. diag_printf()) facilities available. There isn't a proper
'malloc' per se, but I wouldn't think for a driver that you'd really be
calling malloc() often anyhow. If it's just a one time allocation etc, you
could just carve out a piece of memory for your driver.
Without knowing further details about what you're trying to do though, it's
difficult to offer more advice.
--Chris
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss