memory type e820
John Baldwin
jhb at freebsd.org
Mon Nov 3 21:53:12 UTC 2014
On Saturday 01 November 2014 18:55:53 Sourish Mazumder wrote:
> Hi John,
>
> I tried the pmap_mapdev() as suggested by you. Works perfectly. Thanks for
> the information.
Sure.
> What is required, If I want to add this nvram memory to VM pages?
Hmm. If this is device memory you generally don't want that. I'm not
actually sure how to do this at runtime. If you don't mind having a local
hack you can add a change in the MD startup code (e.g. in hammer_time()
in sys/amd64/amd64/machdep.c) to adjust the ranges added to
phys_avail[] and dump_avail[].
--
John Baldwin
More information about the freebsd-amd64
mailing list