From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11028 invoked by alias); 7 Sep 2007 04:49:56 -0000 Received: (qmail 11003 invoked by uid 22791); 7 Sep 2007 04:49:55 -0000 X-Spam-Check-By: sourceware.org Received: from gum.itee.uq.edu.au (HELO gum.itee.uq.edu.au) (130.102.66.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Sep 2007 04:49:48 +0000 Received: from filter2.itee.uq.edu.au (filter2.itee.uq.edu.au [130.102.66.22]) by gum.itee.uq.edu.au (8.13.1/8.13.1) with ESMTP id l874ng0T021312 for ; Fri, 7 Sep 2007 14:49:43 +1000 Received: from g5099368 (g509-9368.itee.uq.edu.au [130.102.64.130]) by filter2.itee.uq.edu.au (8.13.1/8.13.1) with SMTP id l874ng33030916 for ; Fri, 7 Sep 2007 14:49:42 +1000 Message-ID: <000501c7f10a$81073a50$82406682@itee.uq.edu.au> Reply-To: "Yi Tang" From: "Yi Tang" To: "eCos-discuss" Date: Fri, 07 Sep 2007 04:49:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="gb2312"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.3138 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: [ECOS] ecos kernel modification and kapidata X-SW-Source: 2007-09/txt/msg00024.txt.bz2 Hi, I'm currently doing some modification to ecos kernel, mainly trying to add a custom scheduler. I have created my own scheduler implementation file and changed some to kapi.cxx (hxx). I thought that's all. After finished the cdl modification to add the new scheduler, I tried to build the library. But during the compiling, it says I also need to do some modification to kapidata.hxx. The thing is I don't understand the role this file takes in the whole kernel. Why do we need it? Can't find anything related to that in ecos documents and massa's book. Also is there any other source file I need to modify? Another question is: can I directly call the c++ api of the kernel in application instead of the C KAPI? And do you have any document relative to this native C++ API? Thanks and Regards, Yi Tang -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss