memory type e820
Sourish Mazumder
sourish at cloudbyte.com
Thu Oct 30 06:02:18 UTC 2014
I have nvram device in my system. I am able to detect the nvram device
address by scanning the bios_smap.
How do I add this new found nvram memory into kernel address space?
On Tue, Oct 7, 2014 at 8:20 PM, John Baldwin <jhb at freebsd.org> wrote:
> 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
>
--
Sourish Mazumder
9986309755
More information about the freebsd-amd64
mailing list