freebsd-dev/sys/x86/include
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
..
xen x86/xen: use x{2}APIC if virtualized by hardware 2022-01-18 10:18:22 +01:00
_align.h
_inttypes.h
_limits.h
_stdint.h
_types.h
acpica_machdep.h
apicreg.h
apicvar.h x86/apic: remove apic_ops 2022-01-18 10:19:04 +01:00
apm_bios.h
bus_dma.h
bus.h
busdma_impl.h bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
clock.h x86: Probe the TSC frequency earlier 2022-03-01 09:39:35 -05:00
cputypes.h
dump.h minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
elf.h
endian.h
fdt.h
float.h
fpu.h
frame.h
ifunc.h
init.h
intr_machdep.h
iommu.h
kvm.h
legacyvar.h
mca.h
metadata.h
mptable.h
ofw_machdep.h
pci_cfgreg.h
procctl.h
psl.h
ptrace.h
pvclock.h
reg.h x86: Add a NT_X86_SEGBASES register set. 2022-03-24 11:36:19 -07:00
segments.h
setjmp.h
sigframe.h
signal.h
specialreg.h mca: Decode new Intel status bits. 2021-12-08 12:03:28 -05:00
stack.h
stdarg.h
sysarch.h
tls.h Add <machine/tls.h> header to hold MD constants and helpers for TLS. 2021-12-09 13:17:13 -08:00
trap.h x86: remove unused T_USER flag 2021-12-05 11:12:40 -04:00
ucode.h
ucontext.h
vdso.h
vmware.h
x86_ieeefp.h
x86_smp.h amd64: Reduce the amount of cpuset copying done for TLB shootdowns 2021-11-15 13:01:31 -05:00
x86_var.h Simplify swi for bus_dma. 2021-12-28 13:51:25 -08:00