comp.lang.ada
 help / color / mirror / Atom feed
From: "q.kontinuum" <achsis_of_elvis@yahoo.co.uk>
Subject: Re: Linux kernel module - memory allocation
Date: Mon, 18 May 2015 19:48:22 +0000 (UTC)
Date: 2015-05-18T19:48:22+00:00	[thread overview]
Message-ID: <slrnmlkgg8.53v.achsis_of_elvis@tmoeller-laptop.fritz.box> (raw)
In-Reply-To: mjd7qh$7ta$1@dont-email.me

On 2015-05-18, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
> On 2015-05-18, Niklas Holsti <niklas.holsti@tidorum.invalid> wrote:

>> Ok. I don't think many people have tried this with GNAT or Ada -- I 
>> don't know of any others. Do you know anyone who has done it?
>>
>
> Yes, I have but I remember very rapidly deciding to give up once I tried
> to do something "real".

I'm not 100% confident that I will manage to do all I wanted to in 
Ada... But I want to give it a try :-)
I already started to use imported C-functions in some places 
for convenience. Currently, the idea is to keep the interface small.

> Also, it was over a decade ago, so I no longer remember any details.
>
> Here's a Usenet post of mine which has showed up in one of the Usenet
> archives; the response to the post has some information:
>
> http://computer-programming-forum.com/44-ada/86f1b921763bcbde.htm

Yes, I remember I found that post when I started to research...
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. 

> Also check out section 16.16 (Writing Linux Modules) at:
>
> http://www.pegasoft.ca/resources/boblap/16.html

Yes, I had a look there and found some first ideas. However,
they just mentioned I had to register a license, without telling me
how to. So, the hello-world they provided did not work for me.

Br,
Thorsten


  parent reply	other threads:[~2015-05-18 19:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18  8:27 Linux kernel module - memory allocation q.kontinuum
2015-05-18  8:56 ` Niklas Holsti
2015-05-18  9:19   ` q.kontinuum
2015-05-18 16:02     ` Niklas Holsti
2015-05-18 17:34       ` Simon Clubley
2015-05-18 19:25         ` jan.de.kruyf
2015-05-19  5:30           ` q.kontinuum
2015-05-19  7:18             ` jan.de.kruyf
2015-05-19  7:56               ` q.kontinuum
2015-05-19  8:06                 ` jan.de.kruyf
2015-05-19 10:20                   ` Mart van de Wege
2015-05-19 11:14                     ` jan.de.kruyf
2015-05-19 11:16                   ` G.B.
2015-05-19  9:52               ` Simon Wright
2015-05-19 11:11                 ` jan.de.kruyf
2015-05-18 19:48         ` q.kontinuum [this message]
2015-05-18 20:18           ` rrr.eee.27
2015-05-18 21:09             ` q.kontinuum
2015-05-18 19:35       ` q.kontinuum
2015-05-18 20:19 ` jan.de.kruyf
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox