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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.216.232 with SMTP id ot8mr36487843obc.49.1431980322614; Mon, 18 May 2015 13:18:42 -0700 (PDT) X-Received: by 10.140.21.111 with SMTP id 102mr338883qgk.4.1431980322590; Mon, 18 May 2015 13:18:42 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!j8no5044078igd.0!news-out.google.com!k20ni33620qgd.0!nntp.google.com!z60no2049010qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 18 May 2015 13:18:42 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=217.251.229.212; posting-account=mOyWBQoAAAD7S-NBmMUOr9hRClcL0vqR NNTP-Posting-Host: 217.251.229.212 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4546ff48-96ea-4225-9369-724f4839acd7@googlegroups.com> Subject: Re: Linux kernel module - memory allocation From: rrr.eee.27@gmail.com Injection-Date: Mon, 18 May 2015 20:18:42 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 2001 X-Received-Body-CRC: 3169602106 Xref: news.eternal-september.org comp.lang.ada:25911 Date: 2015-05-18T13:18:42-07:00 List-Id: 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 ... If you want to implement the main 1-wire functions yourself you might look at the One_Wire package hierarchy of AVR-Ada [1] HTH RE [1] https://sourceforge.net/p/avr-ada/code/ci/master/tree/avr/onewire/ > Br, > Thorsten