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]

Re: malloc vs. new


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


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