All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] PCI Framegrabber real-time driver
Date: Thu, 12 Jan 2006 16:47:07 -0300	[thread overview]
Message-ID: <43C6B23B.6030503@domain.hid> (raw)
In-Reply-To: <17349.34151.559777.835174@domain.hid>

Gilles Chanteperdrix escreveu:

>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/
>  
>
Yes, I knew about that, but the it was not an option at the time. I can 
not show the source code of the driver due to a contract or else I 
wouldn't have the specifications. So, if I need to use the driver in 
other places I will have to build a module and distribute only the 
module. I'm still thinking in other solutions but it is easier to ask 
the user to pass the kernel the mem parameter...

But thank you anyway!

Rodrigo.


	

	
		
_______________________________________________________ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 




  reply	other threads:[~2006-01-12 19:47 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
2006-01-12 19:47       ` Rodrigo Rosenfeld Rosas [this message]
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=43C6B23B.6030503@domain.hid \
    --to=lbocseg@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.