Best way for PCI memory allocation?

Nils Holland nholland at tisys.org
Thu Dec 18 10:37:17 EST 2014


On Thu, Dec 18, 2014 at 10:24:59AM -0500, John de la Garza wrote:
> On Thu, Dec 18, 2014 at 02:32:17PM +0200, testlaster wrote:
> > Hey Guys.
> > What would you say is the best memory allocation function to use when I 
> > want to dump a specific size and address of memory to a file?
> > Im working through the PCI chip to gain access to a shared 8meg memory 
> > bank. What I essentially have to do is try and access that bank from 
> > memory start to a specific memory offset and
> > dump all its containing data into a file as soon as possible.
> 
> Consider creating a new thread instead of replying when you are
> changing the subject.  When you reply the your mail is still
> associated with the original topic (at least form some email clients).
> When you start a new thread it gets a new ID and will have its own
> thread.

...and while you're at it: Why not put your code on some webserver or
pastebin service / whatever if it is too long to include it in your
message? It might be of very much interest to people who'd like to
help you out! :-)

Greetings,
Nils



More information about the Kernelnewbies mailing list