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]

fis_lookup() function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]