From mboxrd@z Thu Jan 1 00:00:00 1970 From: nholland@tisys.org (Nils Holland) Date: Thu, 18 Dec 2014 16:37:17 +0100 Subject: Best way for PCI memory allocation? In-Reply-To: <20141218152459.GB73343@crux.local> References: <5330DBD7.1000609@gmail.com> <5492C951.60602@gmail.com> <20141218152459.GB73343@crux.local> Message-ID: <20141218153717.GA6467@triton374.startdedicated.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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