[ECOS] fis_lookup() function

Chris Garry cgarry@sweeneydesign.co.uk
Thu May 1 11:42:00 GMT 2003


The fis_lookup() function in:

    packages/redboot/current/src/flash.c

seems to require that a:

    memcpy(fis_work_block, fis_addr, fisdir_size);

is done before it is used.

Shouldn't the memcpy be inside the fis_lookup() function
in this case?  Especially since fis_lookup() looks to be
available for use by other RedBoot commands when
the header file fis.h is included.

--
Chris

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



More information about the Ecos-discuss mailing list