Date: Mon, 27 Sep 2010 19:36:15 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/i386 machdep.c Message-ID: <201009271936.o8RJaZCC078516@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2010-09-27 19:36:15 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 machdep.c
Log:
SVN rev 213226 on 2010-09-27 19:36:15Z by jhb
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.
MFC after: 2 weeks
Revision Changes Path
1.707 +126 -124 src/sys/i386/i386/machdep.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271936.o8RJaZCC078516>
