1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Peter Grehan aaaa065629 Correctly maintain the CR0/CR4 shadow registers.
This was exposed with AP spinup of Linux, and
booting OpenBSD, where the CR0 register is unconditionally
written to prior to the longjump to enter protected
mode. The CR-vmexit handling was not updating CPU state which
resulted in a vmentry failure with invalid guest state.

A follow-on submit will fix the CPU state issue, but this
fix prevents the CR-vmexit prior to entering protected
mode by properly initializing and maintaining CR* state.

Reviewed by:	neel
Reported by:	Gopakumar.T @ netapp
2013-08-01 01:18:51 +00:00
bin sh: Remove an incorrect comment. 2013-07-25 20:50:35 +00:00
cddl MFV r253781 + r253871: 2013-07-30 21:02:09 +00:00
contrib Change default behaviour of ld(1) to not recursively copy DT_NEEDED 2013-07-31 12:35:06 +00:00
crypto Import Apache apr-util-1.5.2 into vendor staging area. 2013-07-28 05:14:54 +00:00
etc Regenerate usb.conf 2013-07-26 10:25:18 +00:00
games Remove a reference to instant-server which has been removed from the 2013-03-21 12:42:25 +00:00
gnu Make the BSD-licensed patch the default. 2013-07-26 21:25:18 +00:00
include Import Apache apr-util-1.5.2 into vendor staging area. 2013-07-28 05:14:54 +00:00
kerberos5 Fix the getpwnam_r() call in the pname_to_uid() kerberos library function so 2013-05-02 12:52:49 +00:00
lib Include an Accept header in requests. 2013-07-30 13:07:55 +00:00
libexec Revert r253748,253749 2013-07-28 18:44:17 +00:00
release - Once we have shifted arguments thrice, base-bits-dir is $1 rather than $4. 2013-07-26 14:23:25 +00:00
rescue - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
sbin Make two buffer variables static for now. It is not safe to 2013-07-31 07:09:35 +00:00
secure Remove references to MK_IDEA. 2013-04-27 05:44:39 +00:00
share Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00
sys Correctly maintain the CR0/CR4 shadow registers. 2013-08-01 01:18:51 +00:00
tools Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00
usr.bin MFC'ing to 9.2. 2013-07-30 19:21:36 +00:00
usr.sbin Apply a casting sledgehammer. 2013-07-30 16:20:54 +00:00
COPYRIGHT Happy New Year 2013! 2012-12-31 11:22:55 +00:00
LOCKS
MAINTAINERS Add myself as maintainer for nvme(4), nvd(4) and nvmecontrol(8). 2013-07-31 18:18:02 +00:00
Makefile Fix bug in universe where if upgrade_checks wants a new make, 2013-07-24 17:55:08 +00:00
Makefile.inc1 Generate debug data release dist sets 2013-07-23 19:34:09 +00:00
ObsoleteFiles.inc In r227839, when removing libkvm dependency on procfs(5), 2013-07-10 19:44:43 +00:00
README
UPDATING Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html