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 <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "[email protected]"
