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: Tue, 19 May 2015 09:56:54 +0200
Date: 2015-05-19T09:56:54+02:00	[thread overview]
Message-ID: <slrnmllr66.c10.achsis_of_elvis@tmoeller-laptop.ad.here.com> (raw)
In-Reply-To: c124e4d7-a661-4dbe-a7e5-e525679b2967@googlegroups.com

On 2015-05-19, jan.de.kruyf@gmail.com <jan.de.kruyf@gmail.com> wrote:
> On Tuesday, May 19, 2015 at 7:30:37 AM UTC+2, q.kontinuum wrote:
>
>> I think I might be a different learning type. 
>
> Age related I guess.
> I was forced to take your way with an ethernet driver for an arm board since 
> no good example was available (at least not for what I wanted) And oh boy 
> was I bitten in the foot! But it is running now.

Hehe :-) I wrote an ethernet-driver for a Z80 (don't ask...) ~14 years
ago. I feel your pain. But that time I did read the specs, and much 
good did it to me. In the end I had to get a logic analyzer to check
what was going on on the bus because the chip didn't abide the specs.

>> I didn't find anything about this. Do you have some additional information?
>> 
>
> file:///usr/gnat/share/doc/gnat/html/gnat_rm_2.html#SEC6 (on my machine)

Ok, I guess I should be able to find this somewhere. Although 
a quick google search did not show a relevant package.

[...]
>> As I wrote in another thread, it's a gcc feature. 
>> https://gcc.gnu.org/onlinedocs/gcc-4.5.3/gcc/i386-and-x86_002d64-Options.html
>> 
>
> Yes, i take it you did see my post about the 
> load of other switches the module building process inserts 
> into the call to gcc.

Yes, although I didn't look into that much. I just looked up a short 
tutorial like "getting started", and took the parameters from there.
Quite simple, actually. 

This is my current Makefile at the moment:
https://github.com/thors/ada/blob/master/driver/Makefile

Br,
Thorsten

  reply	other threads:[~2015-05-19  7:56 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 [this message]
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
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