From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5948 invoked by alias); 26 Jun 2002 15:17:48 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 5940 invoked from network); 26 Jun 2002 15:17:46 -0000 Received: from unknown (HELO tiger.hobbes.com) (65.222.97.68) by sources.redhat.com with SMTP; 26 Jun 2002 15:17:46 -0000 Received: from tiger (tiger.hobbes.com [127.0.0.1]) by tiger.hobbes.com (Postfix) with ESMTP id 1BA2A14B44 for ; Wed, 26 Jun 2002 11:16:52 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Tim Drury Organization: Silicon Motorsports To: "ecos-discuss (E-Mail)" Date: Wed, 26 Jun 2002 08:57:00 -0000 References: <850597605E79D21182830008C7A4B9CF1EB423D9@COMM1> In-Reply-To: <850597605E79D21182830008C7A4B9CF1EB423D9@COMM1> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206261116.51643.tdrury@siliconmotorsports.com> Subject: Re: [ECOS] malloc vs. new X-SW-Source: 2002-06/txt/msg00474.txt.bz2 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