opnsense-src/sys/x86/include
John Baldwin 382ffc8786 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

(cherry picked from commit 931983ee08)
2022-05-13 09:45:19 -07:00
..
xen
_align.h
_inttypes.h
_limits.h
_stdint.h
_types.h
acpica_machdep.h
apicreg.h
apicvar.h x86: Defer LAPIC calibration until after timecounters are available 2021-12-29 10:39:10 -05:00
apm_bios.h
bus.h Generalize bus_space(9) and atomic(9) sanitizer interceptors 2021-11-01 10:16:39 -04:00
bus_dma.h
busdma_impl.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
clock.h x86: Probe the TSC frequency earlier 2022-03-31 12:05:25 -04:00
cputypes.h
dump.h minidump: De-duplicate the progress bar 2021-10-15 12:20:48 -03:00
elf.h
endian.h Consolidate machine/endian.h definitions 2021-06-24 20:42:56 -03:00
fdt.h
float.h
fpu.h Revert "linux32: add a hack to avoid redefining the type of the savefpu tag" 2021-10-10 12:21:17 +03:00
frame.h
ifunc.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
init.h
intr_machdep.h
iommu.h
kvm.h kvm_clock: KVM paravirtual clock support 2021-10-10 12:21:16 +03:00
legacyvar.h
mca.h
metadata.h
mptable.h
ofw_machdep.h
pci_cfgreg.h
procctl.h
psl.h
ptrace.h
pvclock.h pvclock: Add vDSO support 2021-10-10 12:21:17 +03:00
reg.h x86: Add a NT_X86_SEGBASES register set. 2022-05-13 09:45:19 -07:00
segments.h
setjmp.h
sigframe.h
signal.h
specialreg.h mca: Decode new Intel status bits. 2021-12-14 23:00:17 -05:00
stack.h
stdarg.h
sysarch.h
tls.h Add <machine/tls.h> header to hold MD constants and helpers for TLS. 2022-04-29 13:50:05 -07:00
trap.h x86: remove unused T_USER flag 2021-12-10 14:31:20 -04:00
ucode.h
ucontext.h
vdso.h pvclock: Add vDSO support 2021-10-10 12:21:17 +03:00
vmware.h
x86_smp.h amd64: Reduce the amount of cpuset copying done for TLB shootdowns 2021-12-15 08:31:48 -05:00
x86_var.h Simplify swi for bus_dma. 2022-04-29 14:27:47 -07:00