freebsd-nq/sys/dev/acpica
Alan Somers 6040822c4e Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.

Our kernel currently defines two-argument versions of timespecadd and
timespecsub.  NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions.  Solaris also defines a three-argument version, but
only in its kernel.  This revision changes our definition to match the
common three-argument version.

Bump _FreeBSD_version due to the breaking KPI change.

Discussed with:	cem, jilles, ian, bde
Differential Revision:	https://reviews.freebsd.org/D14725
2018-07-30 15:46:40 +00:00
..
Osd remove unneeded inclusion of sys/interrupt.h from several files 2018-07-04 09:07:18 +00:00
acpi_acad.c
acpi_battery.c
acpi_bus_if.m Add the start of INTRNG support for ACPI. 2018-01-11 17:09:12 +00:00
acpi_button.c
acpi_cmbat.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
acpi_container.c hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
acpi_cpu.c Use device_quiet_children to silence verbose CPU probe messages. 2018-05-07 21:09:17 +00:00
acpi_dock.c
acpi_ec.c Fix for endless recursion in the ACPI GPE handler during boot. 2016-12-02 08:21:08 +00:00
acpi_hpet.c hpet: use macros instead of magic values for the timer mode 2018-05-03 13:14:31 +00:00
acpi_hpet.h Implement userspace gettimeofday(2) with HPET timecounter. 2016-08-17 09:52:09 +00:00
acpi_if.m
acpi_isab.c
acpi_lid.c Export the actual LID state via sysctl. This allows more complex 2017-03-12 18:00:02 +00:00
acpi_package.c acpica: remove a superfluous NULL check 2017-02-16 20:27:22 +00:00
acpi_pci_link.c
acpi_pci.c
acpi_pcib_acpi.c Add support for NUMA domains to bus dma tags. This causes all memory 2018-01-12 23:34:16 +00:00
acpi_pcib_pci.c
acpi_pcib.c
acpi_pcibvar.h
acpi_pcivar.h
acpi_perf.c
acpi_powerres.c
acpi_quirk.c
acpi_quirks
acpi_resource.c ARM64: Add support for ThunderX2 PCIe 2018-07-09 08:55:07 +00:00
acpi_smbat.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
acpi_smbus.h
acpi_thermal.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
acpi_throttle.c
acpi_timer.c
acpi_video.c
acpi.c Change the group and the permissions on /dev/acpi, to make "acpiconf" 2018-07-02 14:15:30 +00:00
acpiio.h
acpivar.h Remove local definitions for _STA method in favor of ACPICA. 2018-03-14 23:42:28 +00:00