]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 213226:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Oct 2010 19:28:20 +0000 (19:28 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Oct 2010 19:28:20 +0000 (19:28 +0000)
commit635476e9ef8edc666bb5ef95759fd4ee88c59756
tree46b9f7b308fb77ba54617b25befd0e2375d515a9
parent9c4b257cc4f3108873acb115dc8e1509896fb865
MFC 213226:
Rewrite the i386 memory probe:
- Check for SMAP data from the loader first.  If it exists, don't bother
  doing any VM86 calls at all.  This will be more friendly for non-BIOS
  boot environments such as EFI, etc.
- Move the base memory setup into a new basemem_setup() routine instead
  of duplicating it.
- Simplify the XEN case by removing all of the VM86/SMAP parsing code rather
  than just jumping over it.
- Adjust some comments to better explain the code flow.

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