freebsd-dev/sys/conf
Konstantin Belousov 2c66cccab7 Save and restore segment registers on amd64 when entering and leaving
the kernel on amd64. Fill and read segment registers for mcontext and
signals. Handle traps caused by restoration of the
invalidated selectors.

Implement user-mode creation and manipulation of the process-specific
LDT descriptors for amd64, see sysarch(2).

Implement support for TSS i/o port access permission bitmap for amd64.

Context-switch LDT and TSS. Do not save and restore segment registers on
the context switch, that is handled by kernel enter/leave trampolines
now. Remove segment restore code from the signal trampolines for
freebsd/amd64, freebsd/ia32 and linux/i386 for the same reason.

Implement amd64-specific compat shims for sysarch.

Linuxolator (temporary ?) switched to use gsbase for thread_area pointer.

TODO:
Currently, gdb is not adapted to show segment registers from struct reg.
Also, no machine-depended ptrace command is added to set segment
registers for debugged process.

In collaboration with:	pho
Discussed with:	peter
Reviewed by:	jhb
Linuxolator tested by:	dchagin
2009-04-01 13:09:26 +00:00
..
defines
files New PHY driver for the internal PHY found in the AX88790. There's a 2009-03-30 16:01:09 +00:00
files.amd64 Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
files.arm Switch to ath hal source code. Note this removes the ath_hal 2008-12-01 16:53:01 +00:00
files.i386 Add support for Phenom (Family 10h) to cpufreq. 2009-03-28 08:54:47 +00:00
files.ia64 Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
files.mips Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
files.pc98 Remove IFF_NEEDSGIANT, a compatibility infrastructure introduced 2009-03-15 14:21:05 +00:00
files.powerpc Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
files.sparc64 Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
files.sun4v Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
kern.mk Bump down the inline limit on MIPS. 2009-03-03 18:53:47 +00:00
kern.post.mk Using KMODOWN/KMODGRP rather than hard coding root/wheel for 2009-01-07 09:56:54 +00:00
kern.pre.mk Allow the old usb stack to compile by adding the appropriate -I foo, this must 2009-02-26 20:54:43 +00:00
kmod_syms.awk
kmod.mk Change over the usb kernel options to the new stack (retaining existing 2009-02-23 18:34:56 +00:00
ldscript.amd64
ldscript.arm
ldscript.i386
ldscript.ia64
ldscript.mips Merge from p4: add Juniper license statement. 2008-09-19 03:36:37 +00:00
ldscript.mips.cfe Fix the CFE ldscript after the cutover to tradmips. 2008-10-13 06:07:58 +00:00
ldscript.powerpc Avoid hardcoding the kernel link address in the linker script. 2008-02-27 00:03:23 +00:00
ldscript.sparc64
Makefile.amd64 Add a kernel option for amd64 to compile with the frame on the stack 2008-05-23 03:52:55 +00:00
Makefile.arm Rename Marvell ARM CPU specific file according to r186933. 2009-01-09 10:55:33 +00:00
Makefile.i386 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.ia64 Remove definition of the GCC3 variable. It was introduced in rev. 2007-06-02 21:30:39 +00:00
Makefile.mips Merge in the mips specific configuration files and such from the 2008-04-13 06:25:43 +00:00
Makefile.pc98 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.powerpc Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sparc64 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sun4v Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
makeLINT.mk
makeLINT.sed
newvers.sh For kernel builds reduce the impact of svnversion, just scanning 2009-03-28 23:17:18 +00:00
NOTES Remove the uscanner(4) driver, this follows the removal of the kernel scanner 2009-03-19 20:33:26 +00:00
options Remove ATH_SUPPORT_TDMA and use IEEE80211_SUPPORT_TDMA instead. It 2009-03-30 19:23:49 +00:00
options.amd64 Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
options.arm add IXP4XX_FLASH_SIZE config knob that can be used to override the default 2009-03-10 21:49:22 +00:00
options.i386 Fix AGP debugging code: 2009-02-06 20:57:10 +00:00
options.ia64 Don't forget to create opt_agp.h on ia64, which also uses agp(4). 2009-02-07 09:57:14 +00:00
options.mips Consistently use <TAB> instead of spaces as option name and file 2009-02-06 10:30:46 +00:00
options.pc98 Fix AGP debugging code: 2009-02-06 20:57:10 +00:00
options.powerpc Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. 2008-03-03 17:17:00 +00:00
options.sparc64 Add a driver for Schizo' Fireplane/Safari to PCI 2.1 and Tomatillo' 2008-09-28 00:07:05 +00:00
options.sun4v Remove remnants from the sparc64 origin of this file and which are 2007-01-19 12:22:50 +00:00
systags.sh