1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Use virtual_avail instead of freemempos as the starting point of the available

physical memory, as the vm uses the memory between freemempos and
virtual_avail.

MFC After:	3 days
This commit is contained in:
Olivier Houchard 2006-07-25 23:07:35 +00:00
parent 42e4359156
commit f9ad2af361
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160683

View File

@ -478,7 +478,7 @@ initarm(void *arg, void *arg2)
dump_avail[2] = 0;
dump_avail[3] = 0;
phys_avail[0] = freemempos - KERNVIRTADDR + KERNPHYSADDR;
phys_avail[0] = virtual_avail - KERNVIRTADDR + KERNPHYSADDR;
phys_avail[1] = KERNPHYSADDR + memsize;
phys_avail[2] = 0;
phys_avail[3] = 0;