This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: malloc vs. new
- From: Tim Drury <tdrury at siliconmotorsports dot com>
- To: "ecos-discuss (E-Mail)" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 26 Jun 2002 11:16:51 -0400
- Subject: Re: [ECOS] malloc vs. new
- Organization: Silicon Motorsports
- References: <850597605E79D21182830008C7A4B9CF1EB423D9@COMM1>
On Wednesday 26 June 2002 05:42 am, Koeller, T. wrote:
> Hi Tim,
>
> first of all, before doing anything else you should get
> the latest version of the patch that I just uploaded to
> ecos-patches@sources.redhat.com. Now to your questions:
got it.
> 1) Yes, this is a platform-dependent parameter and
> therefore should go into the platform cdl file.
I took it out of var/current/cdl and put in into both
eb40/current/cdl and eb40a/current/cdl
> 2) The short answer is that I just took the LED code as
> it were without modifying it. In the latest version I
> implemented the function hal_diag_led() which the
> original code defined in hal_diag.h, but did not
> actually implement. It tries to get setting those
> LEDs right by using a lookup table for the PIO bits,
> but I haven't tested it so far - maybe you can?
I can test the eb40a stuff. I also added a led_on() and
led_off() for turning individual LEDs on and off.
> 3) Yes, I agree. These definitions should go into
> plf_io.h.
I put them in eb40a/current/include/plf_io.h
-tim
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss