memory type e820

Sourish Mazumder sourish at cloudbyte.com
Thu Oct 30 16:39:29 UTC 2014


Hi John,

I want to make a block device out of this nvram memory. So, I will need to
perform memcpy() operation into this memory.
Do I need to add this memory into the vm system, if I need to do operations
like memcpy().

On Thu, Oct 30, 2014 at 9:38 PM, John Baldwin <jhb at freebsd.org> wrote:

> On Thursday, October 30, 2014 1:56:00 am Sourish Mazumder wrote:
> > 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?
>
> Do you just want to map it so you can get a valid pointer or do you want it
> to be treated as normal memory by the VM system (i.e. available for use as
> pages in the VM page cache)?
>
> --
> John Baldwin
>



-- 
Sourish Mazumder
9986309755


More information about the freebsd-amd64 mailing list