Physical memory available in the system - Regarding

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

 



Hi

Would somebody be kind enough to give me some pointers on the availability of some linux kernel call that I can use to get the amount of physical memory available on the system ?

I am trying to do something like this (not using bigphyspatch but reserving memory at boot time, pg 403 on O'Reilly book)

    dmabuf = ioremap (getAvailablePhysicalMemory (), 0x100000 /*1M*/);

Any help would be greatly appreciated.

Thanks in advance
Vijay


 





[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