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, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d69cf57549de1425 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 13 Jan 2009 19:26:29 -0600 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Linux device drivers in Ada? Date: Wed, 14 Jan 2009 01:36:01 +0000 Reply-To: brian@shapes.demon.co.uk Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-Yx0t7AcPYFAKs8qfmchFPTP3a6IfdIetNw5YX96szBw3xICy29sjj4fdAfcSuiFoAfaBFFosCbnAJ0C!0dFUpYrgSclTumH0R/YSH5Oy5OWOOxayVBNvp//KvxZOBpGjpHtEOO9AqZ+Pj7+9HwYvwokGabTW!PCji X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:3275 Date: 2009-01-14T01:36:01+00:00 List-Id: On Tue, 13 Jan 2009 18:43:51 +0100, Dirk Heinrichs wrote: >Brian Drummond wrote: > >> Possibly a long shot, but does anyone know of any example Linux device >> drivers written in Ada? Is it even possible for Linux? >> >> I'm not looking for anything specific, rather for a starting point. >> I need to write a device driver for an FPGA card on the PCIe bus, and >> I'd rather not use C if at all possible. > >There is an example in "The Big Online Book of Linux Ada Programming" [1]. >Lookup chapter 16.16 "Writing Linux Modules". > >HTH... > > Dirk >[1]: http://www.pegasoft.ca/resources/boblap/book.html Thanks! This looks very useful. Thanks also to Jacob; RTLGnat may not help with the driver per se, but certainly will with handling modules. - Brian