sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
show more ...
x86: Remove unused devclass arguments to DRIVER_MODULE.
smbios/vpd: Use devclass_find to lookup devclass in module event handler.While here, use a modern function declaration for smbios_modevent andvpd_modevent.Reviewed by: impDifferential Revision:
smbios/vpd: Use devclass_find to lookup devclass in module event handler.While here, use a modern function declaration for smbios_modevent andvpd_modevent.Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D34996
smbios: Move smbios driver out from x86 machdep codeAdd it to the x86 GENERIC and MINIMAL kernelsSponsored by: Ampere Computing LLCSubmitted by: Klara Inc.Reviewed by: rpokalaDifferential Revi
smbios: Move smbios driver out from x86 machdep codeAdd it to the x86 GENERIC and MINIMAL kernelsSponsored by: Ampere Computing LLCSubmitted by: Klara Inc.Reviewed by: rpokalaDifferential Revision: https://reviews.freebsd.org/D28738
Explicit CTLFLAG_DYN not neededDynamically created OIDs automatically get this flag set.Reviewed by: jhbMFC after: 1 weekSponsored by: iXsystems, Inc.Differential Revision: https://reviews.fre
Explicit CTLFLAG_DYN not neededDynamically created OIDs automatically get this flag set.Reviewed by: jhbMFC after: 1 weekSponsored by: iXsystems, Inc.Differential Revision: https://reviews.freebsd.org/D26561
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly marked).Use it in preparation for a general review of all nodes.This is non-functional change that adds annotations to SYSCTL_NODE andSYSCTL_PROC nodes using one of the soon-to-be-required flags.Mark all obvious cases as MPSAFE. All entries that haven't been markedas MPSAFE before are by default marked as NEEDGIANTApproved by: kib (mentor, blanket)Commented by: kib, gallatin, melifaroDifferential Revision: https://reviews.freebsd.org/D23718
sys/x86: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/x86: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified 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.
Add missing header needed by free(9).Spotted by: David Wolfskill <david at catwhisker dot org>
Free result of device_get_children(9).
- Re-shuffle the <machine/pc/bios.h> headers to move all kernel-specific bits under #ifdef _KERNEL but leave definitions for various structures defined by standards ($PIR table, SMAP entries, etc
- Re-shuffle the <machine/pc/bios.h> headers to move all kernel-specific bits under #ifdef _KERNEL but leave definitions for various structures defined by standards ($PIR table, SMAP entries, etc.) available to userland.- Consolidate duplicate SMBIOS table structure definitions in ipmi(4) and smbios(4) in <machine/pc/bios.h> and make them available to userland.MFC after: 2 weeks
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.The SYSCTL_NODE macro defines a list that stores all child-elements ofthat node. If there's no SYSCTL_DECL macro anywhere else,
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.The SYSCTL_NODE macro defines a list that stores all child-elements ofthat node. If there's no SYSCTL_DECL macro anywhere else, there's noreason why it shouldn't be static.
Introduce the new kernel sub-tree x86 which should contain all the codeshared and generalized between our current amd64, i386 and pc98.This is just an initial step that should lead to a more compl
Introduce the new kernel sub-tree x86 which should contain all the codeshared and generalized between our current amd64, i386 and pc98.This is just an initial step that should lead to a more complete effort.For the moment, a very simple porting of cpufreq modules, BIOS calls andthe whole MD specific ISA bus part is added to the sub-tree but ideallya lot of code might be added and more shared support should grow.Sponsored by: Sandvine IncorporatedReviewed by: emaste, kib, jhb, impDiscussed on: archMFC: 3 weeks