Sync with sys/i386/i386/machdep.c revision 1.344.

This commit is contained in:
kato 1999-06-28 13:08:59 +00:00
parent 4e506f57f0
commit a6bac2371e
2 changed files with 14 additions and 2 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.119 1999/06/17 11:09:39 kato Exp $
* $Id: machdep.c,v 1.120 1999/06/21 11:14:27 kato Exp $
*/
#include "apm.h"
@ -1455,6 +1455,12 @@ getmemsize(int first)
if (smap->length == 0)
goto next_run;
if (smap->base > 0xffffffff) {
printf("%dK of memory above 4GB ignored\n",
(u_int32_t)(smap->length / 1024));
goto next_run;
}
for (i = 0; i <= physmap_idx; i += 2) {
if (smap->base < physmap[i + 1]) {
if (boothowto & RB_VERBOSE)

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.119 1999/06/17 11:09:39 kato Exp $
* $Id: machdep.c,v 1.120 1999/06/21 11:14:27 kato Exp $
*/
#include "apm.h"
@ -1455,6 +1455,12 @@ getmemsize(int first)
if (smap->length == 0)
goto next_run;
if (smap->base > 0xffffffff) {
printf("%dK of memory above 4GB ignored\n",
(u_int32_t)(smap->length / 1024));
goto next_run;
}
for (i = 0; i <= physmap_idx; i += 2) {
if (smap->base < physmap[i + 1]) {
if (boothowto & RB_VERBOSE)