diff options
author | obrien <obrien@FreeBSD.org> | 2005-03-01 04:18:32 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-03-01 04:18:32 +0000 |
commit | 0e0b73fb27231f1e86dddbfb1623fb998e100900 (patch) | |
tree | c5bbe7cedce8e5122853d56c45992ca0cdd2fd15 | |
parent | db9271ae9e1ab9ced95e78e09500a752ead3a697 (diff) | |
download | FreeBSD-src-0e0b73fb27231f1e86dddbfb1623fb998e100900.zip FreeBSD-src-0e0b73fb27231f1e86dddbfb1623fb998e100900.tar.gz |
Catch up with the "physical memory" sysctl change.
(MFi386: rev 1.608)
-rw-r--r-- | sys/amd64/amd64/machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index ae0f28d..8dc5b52 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -156,6 +156,7 @@ int _udatasel, _ucodesel, _ucode32sel; int cold = 1; long Maxmem = 0; +long realmem = 0; vm_paddr_t phys_avail[20]; @@ -188,6 +189,7 @@ cpu_startup(dummy) #endif printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)Maxmem), ptoa((uintmax_t)Maxmem) / 1048576); + realmem = Maxmem; /* * Display any holes after the first chunk of extended memory. */ |