Re: How to reserve physical address space region

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

 



Have you looked at the uio driver examples?

Also, LDD3 may be old, but the API is at least still relevant. The explanation is too long to include here, but the book is free :D

On Thu, Oct 15, 2015 at 11:53 PM, sahlot arvind <asahlot@xxxxxxxxx> wrote:
Hi,

Is there an API kernel exposes to use for a driver in order to reserve physical address space?
I mean I want to reserve 5GB (or more if allowed) of contiguous physical address space anywhere in the address range (wherever it is available.. doesn't matter) and then I want to map that physical address range in the kernel to get a virtual address so that my driver can dereference that virtual pointer to access the mapped physical address range.

Thanks in advance!
Sahlot

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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