From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Tue, 21 Jun 2011 12:22:12 +0700 Subject: request_mem_region In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 20/06/2011, Daniel Redway wrote: > Hello > > As I understand ioremap() maps and returns virtual address > for a given physical(bus) address associated with my PCI card. > That is cool and clear. > > > What is the purpose of request_mem_region()? checking http://lxr.linux.no/linux+v2.6.39/kernel/resource.c#L732, I think that function generally says "alright,I wanna reserve this memory region, so no one may touch it....until I mark it as free again" -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com