Date: Tue, 7 Oct 2014 10:50:34 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-amd64@freebsd.org Subject: Re: memory type e820 Message-ID: <201410071050.34285.jhb@freebsd.org> In-Reply-To: <CABv3qbEuggLT=9vsHAs5Rdp8a0V-=DG7DnPO1BQk4Ghn4r_9Dw@mail.gmail.com> References: <CABv3qbEuggLT=9vsHAs5Rdp8a0V-=DG7DnPO1BQk4Ghn4r_9Dw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071050.34285.jhb>