freebsd-dev/sys/x86
John Baldwin 931983ee08 x86: Add a NT_X86_SEGBASES register set.
This register set contains the values of the fsbase and gsbase
registers.  Note that these registers can already be controlled
individually via ptrace(2) via MD operations, so the main reason for
adding this is to include these register values in core dumps.  In
particular, this will enable looking up the value of TLS variables
from core dumps in gdb.

The value of NT_X86_SEGBASES was chosen to match the value of
NT_386_TLS on Linux.  The notes serve similar purposes, but FreeBSD
will never dump a note equivalent to NT_386_TLS (which dumps a single
segment descriptor rather than a pair of addresses) and picking a
currently-unused value in the NT_X86_* range could result in a future
conflict.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D34650
2022-03-24 11:36:19 -07:00
..
acpica x86/madt: allow Xen guest to use x2APIC mode 2022-01-13 17:15:24 +01:00
bios smbios: Move smbios driver out from x86 machdep code 2021-02-23 21:17:09 +00:00
conf Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
cpufreq x86: Remove CTLFLAG_NEEDGIANT from sysctls. 2021-12-25 22:24:20 -05:00
include x86: Add a NT_X86_SEGBASES register set. 2022-03-24 11:36:19 -07:00
iommu dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
isa x86/tsc: fetch frequency from CPUID when running on Xen 2022-03-18 10:21:04 +01:00
linux Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
pci pci: add missing PCI id of Coffee Lake GPU 2021-12-17 23:18:31 +02:00
x86 x86/tsc: fetch frequency from CPUID when running on Xen 2022-03-18 10:21:04 +01:00
xen xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00