This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
fis_lookup() function
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 1 May 2003 12:44:39 +0100
- Subject: [ECOS] fis_lookup() function
- Organization: Sweeney Design
- Reply-to: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
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