From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "q.kontinuum" Newsgroups: comp.lang.ada Subject: Re: Linux kernel module - memory allocation Date: Mon, 18 May 2015 21:09:54 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <4546ff48-96ea-4225-9369-724f4839acd7@googlegroups.com> Reply-To: nntp@thorzten.de NNTP-Posting-Host: 35IKgXl2aoGTS/cf41LhKA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: slrn/1.0.1 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:25913 Date: 2015-05-18T21:09:54+00:00 List-Id: On 2015-05-18, rrr.eee.27@gmail.com wrote: > On Monday, May 18, 2015 at 9:48:26 PM UTC+2, q.kontinuum wrote: >> My current plan is to implement the higher functionality >> of the driver in Ada (onewire device search, message composition >> and decoding for temperature reading), and maybe use >> the existing raspberry gpio kernel module to set the right signals >> on the bus. > > I suppose you know that the Linux kernel already has a 1-wire filesystem ... Yes, I know. For me it's mainly an exercise. > If you want to implement the main 1-wire functions yourself you might > look at the One_Wire package hierarchy of AVR-Ada [1] I will try it by myself first. If I can't do it, maybe I will have a look at your source. Nevertheless, thanks already. I was not aware there is a Onewire package for Ada. Br, Thorsten