FreeBSD src
Go to file
John Baldwin df66ebeba3 When XSAVE support was added on amd64, the FPU save area was moved
out of 'struct pcb' and into a variable-sized region after the
structure. The kgdb code currently only reads the pcb. It does not
read in the FPU save area but instead passes stack garbage as the
FPU's saved context. Fixing this would mean determining the proper
size of the area and fetching it. However, this state is not saved
for running CPUs in stoppcbs[], so the callback would also have to
know to ignore those pcbs. Instead, just remove the call since it is
of limited usefulness. It results in kgdb reporting the state of the
FPU/SIMD registers in userland, not their current values in the kernel.
In particular, it does not report the correct state for any code in
the kernel which does use the FPU and would report incorrect values
in that case.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D3743
2015-09-29 15:47:42 +00:00
bin Add initial testcases for bin/ls 2015-09-28 03:36:15 +00:00
cddl define aok in libnvpair which is linked to all zfs libraries that need aok 2015-09-28 15:25:36 +00:00
contrib MFV r288243: nc from OpenBSD 5.8. 2015-09-27 07:04:16 +00:00
crypto Fix OpenSSH multiple vulnerabilities by backporting three changes 2015-08-25 20:48:37 +00:00
etc Add initial testcases for bin/ls 2015-09-28 03:36:15 +00:00
games Correctly case FreeBSD in my entry in the tips file 2015-09-08 22:51:10 +00:00
gnu When XSAVE support was added on amd64, the FPU save area was moved 2015-09-29 15:47:42 +00:00
include META_MODE: Avoid command changing in 2nd build. 2015-09-18 21:36:29 +00:00
kerberos5 Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
lib Use calloc() instead of malloc + memset. 2015-09-29 04:47:31 +00:00
libexec META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
release In vm_copy_base(), turn off SU+J on the resultant filesystem, 2015-09-29 15:30:27 +00:00
rescue META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
sbin Replace N #defines with nitems to simplify ifconfig code slightly 2015-09-27 07:51:18 +00:00
secure Replace afterinstall: hack from r111083 with 'make delete-old' functionality. 2015-09-19 03:46:10 +00:00
share The Dt argument should be in capital letters. 2015-09-29 11:48:47 +00:00
sys Really implement PREVENT ALLOW MEDIUM REMOVAL command. 2015-09-29 15:12:40 +00:00
targets remove unused sgsmsg utility (originally imported from opensolaris) 2015-09-28 12:38:57 +00:00
tests Use _exit() instead of exit() in child processes created during tests. 2015-09-09 22:54:07 +00:00
tools remove unused sgsmsg utility (originally imported from opensolaris) 2015-09-28 12:38:57 +00:00
usr.bin Use _PATH_DEVNULL instead of direct hardcoding. 2015-09-28 18:19:22 +00:00
usr.sbin Add to CTL initial support for CDROMs and removable devices. 2015-09-27 13:47:28 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2014-12-31 10:00:43 +00:00
LOCKS
MAINTAINERS Remove cokane@ from MAINTAINERS for 3dfx(4)/tdfx(4) because their email 2014-11-25 05:25:12 +00:00
Makefile Rework r287900 to keep arm64/aarch64 stable in the TARGETS list. 2015-09-17 04:54:49 +00:00
Makefile.inc1 remove unused sgsmsg utility (originally imported from opensolaris) 2015-09-28 12:38:57 +00:00
ObsoleteFiles.inc remove unused sgsmsg utility (originally imported from opensolaris) 2015-09-28 12:38:57 +00:00
README README: changes and fixups 2015-04-19 07:16:44 +00:00
UPDATING Correct UPDATING entry date 2015-09-24 16:56:44 +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.  See build(7)
and 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.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

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 kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


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.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

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