freebsd-dev/sys/amd64
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 amd64 wakeup: rework trampoline page allocation 2021-09-14 00:23:15 +03:00
amd64 x86: Add a NT_X86_SEGBASES register set. 2022-03-24 11:36:19 -07:00
conf lio: remove from NOIP 2022-01-05 14:19:34 -07:00
ia32 x86: Add a NT_X86_SEGBASES register set. 2022-03-24 11:36:19 -07:00
include bhyve: Remove VM_MAXCPU from the userspace API/ABI. 2022-03-09 15:39:28 -08:00
linux exec: Introduce the PROC_PS_STRINGS() macro 2022-01-17 16:11:54 -05:00
linux32 linux_copyout_strings: Use PROC_PS_STRINGS(). 2022-02-04 15:57:57 -08:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm bhyve: Do not remove guest physical addresses from IOMMU host domain 2022-03-24 15:21:24 +00:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00