This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot and builtin functions
- To: gthomas at redhat dot com
- Subject: Re: [ECOS] Redboot and builtin functions
- From: Bart Veer <bartv at redhat dot com>
- Date: Thu, 19 Oct 2000 14:47:56 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <XFMail.20001019074024.gthomas@redhat.com>
- Reply-to: bartv at redhat dot com
>>>>> "Gary" == Gary Thomas <gthomas@redhat.com> writes:
Gary> On 19-Oct-2000 Fabrice Gautier wrote:
>> Last place I saw is in redboot, but only for memset, memcpy is
>> not implemted here... (why almost all the strings functions but
>> memcpy?)
Gary> RedBoot was originally targetted to be built with only the
Gary> HAL package. In particular, I had wanted to leave out even
Gary> INFRA. Sadly, there are many dependencies on INFRA, even in
Gary> HAL. In fact, you should think of HAL as being layered in
Gary> INFRA.
Gary> That's the reason for the [private] copies of the various
Gary> functions in RedBoot.
Gary> 'memcpy' turns out to just be an oversight.
For the record, having absolutely everything depend on INFRA was a
deliberate decision early on in the design process. It means that
there will always be assertion macros and the like available, and
hence there is no excuse for writing code without assertions. This
should probably be documented somewhere.
Bart Veer // eCos net maintainer