All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] PCI Framegrabber real-time driver
Date: Wed, 11 Jan 2006 23:23:35 +0100	[thread overview]
Message-ID: <17349.34151.559777.835174@domain.hid> (raw)
In-Reply-To: <200601111921.05544.lbocseg@domain.hid>

Rodrigo Rosenfeld Rosas wrote:
 > The memory is obtained passing the kernel the parameter "mem=510M". So, the 
 > kernel won't use the last 2 Mb. I know it is not an elegant solution but it's 
 > pretty simple and I can't imagine another one...

Another one, suggested in "Linux devices drivers", chapter 8, is to
allocate your memory at boot time with one of the alloc_bootmem
functions. Of course, in order to call these functions, a small part of
your driver need to run in the kernel itself.

For more details, see:
http://lwn.net/Kernel/LDD3/

-- 


					    Gilles Chanteperdrix.


  reply	other threads:[~2006-01-11 22:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 18:55 [Xenomai-help] PCI Framegrabber real-time driver Rodrigo Rosenfeld Rosas
2006-01-11 19:48 ` Jan Kiszka
2006-01-11 21:21   ` Rodrigo Rosenfeld Rosas
2006-01-11 22:23     ` Gilles Chanteperdrix [this message]
2006-01-12 19:47       ` Rodrigo Rosenfeld Rosas
2006-01-11 22:31     ` Jan Kiszka
     [not found]       ` <1137032878.43c5beae139f5@domain.hid>
2006-01-12  9:29         ` Jan Kiszka
2006-01-13 14:24       ` Rodrigo Rosenfeld Rosas
2006-01-13 19:57         ` Jan Kiszka
2006-01-13 21:53           ` Rodrigo Rosenfeld Rosas
2006-01-13 22:29             ` Jan Kiszka
2006-01-17 14:33               ` Rodrigo Rosenfeld Rosas
  -- strict thread matches above, loose matches on Subject: below --
2006-01-13 15:11 Rodrigo Rosenfeld Rosas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17349.34151.559777.835174@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=lbocseg@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.