Subject: CVS commit: syssrc/sys/arch/i386/i386
To: None <source-changes@netbsd.org>
From: Masanori Kanaoka <kanaoka@netbsd.org>
List: source-changes
Date: 10/20/2002 13:35:43
Module Name:	syssrc
Committed By:	kanaoka
Date:		Sun Oct 20 10:35:43 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/i386: machdep.c

Log Message:
Fix bugs in the BIOS memory probe.

- If the BIOS reports the same memory cluster multiple times,
  only allocate the extent once.

- If we fail to allocate an extent,
  don't add it to mem_clusters and don't increment mem_cluster_cnt.

- When loading the physical extents,
  make sure we don't try to add an extent with zero length (seg_start == tmp).

port-i386/13399: from maximum entropy <entropy@tappedin.com>.


To generate a diff of this commit:
cvs rdiff -r1.491 -r1.492 syssrc/sys/arch/i386/i386/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.