From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21042 invoked by alias); 30 Apr 2008 12:57:41 -0000 Received: (qmail 21034 invoked by uid 22791); 30 Apr 2008 12:57:41 -0000 X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Apr 2008 12:57:24 +0000 Received: by yw-out-1718.google.com with SMTP id 5so323849ywm.66 for ; Wed, 30 Apr 2008 05:57:10 -0700 (PDT) Received: by 10.150.73.41 with SMTP id v41mr946280yba.183.1209560229969; Wed, 30 Apr 2008 05:57:09 -0700 (PDT) Received: by 10.151.83.19 with HTTP; Wed, 30 Apr 2008 05:57:09 -0700 (PDT) Message-ID: <69dd805e0804300557n2889e1c5md76305902c49cb09@mail.gmail.com> Date: Wed, 30 Apr 2008 14:26:00 -0000 From: "Fabian Scheler" To: ecos-discuss@ecos.sourceware.org In-Reply-To: <20080307120518.GH28635@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803051352.17245.thomas@kdut.de> <20080307120518.GH28635@lunn.ch> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Type of alarm-function X-SW-Source: 2008-04/txt/msg00233.txt.bz2 I propose the following "fix" > typedef cyg_addrword_t* cyg_handle_t; define cyg_handle_t as pointer to cyg_addrword_t. That way cyg_handle_t would always be a real pointer and that is how it is used. cyg_handle_t should only be used for pointers to kernel objects (i.e. threads, mutexes, ...) , right? We (Thomas to be more precise) checked this change by running the kernel test cases and did not encounter any problems. Ciao, Fabian -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss