]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 197410:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Sep 2009 15:08:26 +0000 (15:08 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Sep 2009 15:08:26 +0000 (15:08 +0000)
commitf5d7ef70e83152075392879ecd82b486ed0aa160
tree96bd024cbcdebdf082663cc7c8bf7fdb0b6d4b02
parent2b33372c5ac60629355690e269be08ecd231658c
MFC 197410:
- Split the logic to parse an SMAP entry out into a separate function on
  amd64 similar to i386.  This fixes a bug on amd64 where overlapping
  entries would not cause the SMAP parsing to stop.
- Change the SMAP parsing code to do a sorted insertion into physmap[]
  instead of an append to support systems with out-of-order SMAP entries.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@197484 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/machdep.c
sys/i386/i386/machdep.c