> 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
