Re: excluding memory and accessing it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Om wrote:

Hi,
In our system, we have 512 MB memroy (processor opteron, linux kernel 2.4.22).
We have an application which requires 256 MB contigurous memory (for DMA).


The guy who designed it reserved the upper 256M memory by passing mem=256M in the linux command line so that upper 256M is free from any linux kernel access. But I need to read and write to this area. How can I do that? Can I use request_mem_region (0x10000000, 0x10000000, ..) and then ioremap() it?

Please read LDD, Chapter 7, "Reserving High RAM Addresses".

   Yuval

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux