]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new ram0 pseudo-device that claims memory resouces for physical
authorjhb <jhb@FreeBSD.org>
Tue, 20 Mar 2007 21:08:39 +0000 (21:08 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 20 Mar 2007 21:08:39 +0000 (21:08 +0000)
commit9c3aae940304a96fc50dbe9e3e92f5f783d3bf03
treed89922f08f83dd4aa8a274080b570ff447a07dd1
parentd7f955fd677357b4d95e38bdfbd4839173e00241
Add a new ram0 pseudo-device that claims memory resouces for physical
addresses corresponding to system RAM.  On amd64 ram0 uses the SMAP
and claims all the type 1 SMAP regions.  On i386 ram0 uses the
dump_avail[] array.  Note that on i386 we have to ignore regions above
4G in PAE kernels since bus resources use longs.
sys/amd64/amd64/nexus.c
sys/i386/i386/nexus.c