Hi,

I have a nvram module in my system. I am able to detect the nvram memory
address via the bios_smap. Now I want to be able to access this nvram
memory for operations like memcpy(). What do I need to do for able to
access this nvram memory?

I went over the hammer_time() function defined in sys/amd64/amd64/machdep.c
file. Here we call the getmemsize() function where we create the
phys_avail[] array and call the PHYS_TO_DMAP to map the message buffers.
Finally we call msgbufinit() function. Is anything more needed to be done
for physical memory to be accessed?

-- 
Sourish Mazumder
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to