Remove libthr, csu, libthread_db and testfloat sparc64 specific directories.Submitted by: kib@ (libthr)
mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUMmachine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h viamachine/reg.h. Many of the regnum definitions are too shor
mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUMmachine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h viamachine/reg.h. Many of the regnum definitions are too short and too genericto be exposing to any userland application including one of these twoheaders. Moreover, these actively cause build failures in googletest(template <typename T1 ...> expanding to template <typename 9 ...>).Hide the definitions behind _KERNEL or _WANT_MIPS_REGNUM, and patch all ofthe userland consumers to define as needed.Discussed with: imp, jhbReviewed by: imp, jhbMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D21330
show more ...
Implement pt_fpreg_to_ucontext(), pt_ucontext_to_fpreg().Sponsored by: DARPA, AFRL
lib: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorpr
lib: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using mis-identified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier f
General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.Special thanks to Wind River for providing access to "The Duke ofHighlander" tool: an older (2014) run over FreeBSD tree was useful as astarting point.
Preserve VFP state across signal delivery.We don't have enouch space to store full VFP context within mcontextstucture. Due to this: - follow i386/amd64 way and store VFP state outside of the mco
Preserve VFP state across signal delivery.We don't have enouch space to store full VFP context within mcontextstucture. Due to this: - follow i386/amd64 way and store VFP state outside of the mcontext_t but point to it. Use the size of VFP state structure as an 'magic' indicator of the saved VFP state presence. - teach set_mcontext() about this external storage. - for signal delivery, store VFP state to expanded 'struct sigframe'.Submited by: Andrew Gierth (initial version)PR: 217611MFC after: 2 weeks
Cleanup structures related to VFP and/or mcontext_t.- in mcontext_t, rename newer used 'union __vfp' to equaly sized 'mc_spare'. Space allocated by 'union __vfp' is too small and cannot hold full
Cleanup structures related to VFP and/or mcontext_t.- in mcontext_t, rename newer used 'union __vfp' to equaly sized 'mc_spare'. Space allocated by 'union __vfp' is too small and cannot hold full VFP context.- move structures defined in fp.h to more appropriate headers.- remove all unused VFP structures.MFC after: 2 weeks
Add the RISC-V MD parts of libthread_db.Sponsored by: DARPA, AFRLSponsored by: HEIF5Differential Revision: https://reviews.freebsd.org/D5064
Add the arm64 parts of libthread_db.Differential Revision: https://reviews.freebsd.org/D2184Reviewed by: impSponsored by: The FreeBSD Foundation
Constify a struct savexmm pointer in pt_ucontext_to_fpreg(), to silencea -Wcast-qual warning from clang 3.6.0.
Remove ia64.This includes:o All directories named *ia64*o All files named *ia64*o All ia64-specific code guarded by __ia64__o All ia64-specific makefile logico Mention of ia64 in com
Remove ia64.This includes:o All directories named *ia64*o All files named *ia64*o All ia64-specific code guarded by __ia64__o All ia64-specific makefile logico Mention of ia64 in comments and documentationThis excludes:o Everything under contrib/o Everything under crypto/o sys/xen/interfaceo sys/sys/elf_common.hDiscussed at: BSDcan
Ensure we set all fpu registers to zero by using the address and size ofthe union over one of its members.
Prefix the alias macros for members of struct __mcontext with an underscorein order to avoid a clash in the net80211 code.
ImplementReviewed by: marcelApproved by: re (kib)MFC after: 1 week
Use the size of struct fpreg rather than of the pointer to it when copyingthe FPU state.Reviewed by: marcelApproved by: re (kib)MFC after: 1 week
Repair some build breakage introduced in r211725 and garbage collect somecode made obsolete in the same commit.
Powerpc64 thread libraries support.
libc_r_* library is no more required, so just axe it.Approved by: marcel, emasteSponsored by: Sandvine Incorporated
Add the needed libpthread_md.c for MIPS.Obtained from: Juniper Networks
Cleanup for WARNS 6.
Cleanup for WARNS 3.
Cleanup for WARNS 2.
Add arm support in libthread_db.
Include string.h for memcpy() and memcmp().
Roughly implement libpthread support.
12