memory type e820

John Baldwin jhb at freebsd.org
Tue Oct 7 16:22:23 UTC 2014


On Wednesday, September 24, 2014 5:12:37 am Sourish Mazumder wrote:
> Hi,
> 
> Does freebsd has a linux equivalent of the function e820_any_mapped() ?
> This function is used to scan the system memory for a specific type.
> 
> How to scan the system memory in freebsd?

There is not an equivalent function, no.  There is phys_avail[] (memory pages 
available for the VM system to use, doesn't include some early allocations 
such as the message buffer) and dump_avail[] (all memory pages).

What are you trying to scan for?

-- 
John Baldwin


More information about the freebsd-amd64 mailing list