From mint-bounce@lists.fishpool.fi Mon Sep 12 12:00:38 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] kernel module howto? From: Odd Skancke To: MiNT List In-Reply-To: <43253043.90104@utbm.fr> References: <1126430208.4323f600dc9ec@webmail2.utbm.fr> <43252BAD.203@utbm.fr> <43253043.90104@utbm.fr> Content-Type: text/plain Date: Mon, 12 Sep 2005 11:56:57 +0000 Message-Id: <1126526217.5860.105.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-0.9 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00 X-Spam-Level: man, 12,.09.2005 kl. 09.37 +0200, skrev Olivier Landemarre: > Frank Naumann wrote: > > > Hello! > > > >>> For xfs and xdd there are example skeletons inside the source tree. > >>> Just look for the skeleton folders in freemint/sys/{xfs,xdd} > >> > >> > >> Is it the same, if I wan't to have MyAeS in kernel module as XaAES do? > > > > > > No, the xaaes kernel module is not a xfs or xdd. > > > >>>> Does we can ask to not prempt process in critical part of the code > >>>> in kernel module? > >>>> > >>> The kernel never preeempt itself except on explicit request by > >>> calling the scheduler. > >> > >> > >> So probably I need documentation about scheduler? > > > > > > It's all documented in the kernel source, take a look on > > freemint/sys/mint/kentry.h. If you include the right header files you > > can just call sleep(...), wake(...) and all other things. > > > Ok I look soon at it Are you planning to convert MyAES into kernel module like XaAES? Best Regards, Odd Skancke