History log of /src/sys/compat/linuxkpi/common/include/linux/time.h (Results 1 – 22 of 22)
Revision Date Author Comments
# 8b51cd07 24-Apr-2025 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: define time64_t

Define time64_t to int64_t for all supported architectures
unconditionally.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: imp, markj, emaste
Differen

LinuxKPI: define time64_t

Define time64_t to int64_t for all supported architectures
unconditionally.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: imp, markj, emaste
Differential Revision: https://reviews.freebsd.org/D50004

show more ...


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 71fde8e5 16-May-2023 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: add ns_to_timespec64()

Add ns_to_timespec64() which does not seem to require anything from
us given timespec64 is aliases to timespec.

Sponsored by: The FreeBSD Foundation
MFC after: 10 d

LinuxKPI: add ns_to_timespec64()

Add ns_to_timespec64() which does not seem to require anything from
us given timespec64 is aliases to timespec.

Sponsored by: The FreeBSD Foundation
MFC after: 10 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D40123

show more ...


# 3f39ff24 04-Apr-2023 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: Include linux/math64.h in linux/time.h

It's done like this in linux too.

Sponsored by: Beckhoff Automation GmbH & Co. KG


# d3975204 22-Oct-2022 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: add MSEC_PER_SEC

Sponsored by: The FreeBSD Foundation
Reviewed by: imp, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D37087


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


# bbd7a929 04-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r336870 through r337285, and resolve conflicts.


# 8b51cd07 24-Apr-2025 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: define time64_t

Define time64_t to int64_t for all supported architectures
unconditionally.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: imp, markj, emaste
Differen

LinuxKPI: define time64_t

Define time64_t to int64_t for all supported architectures
unconditionally.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: imp, markj, emaste
Differential Revision: https://reviews.freebsd.org/D50004

show more ...


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 71fde8e5 16-May-2023 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: add ns_to_timespec64()

Add ns_to_timespec64() which does not seem to require anything from
us given timespec64 is aliases to timespec.

Sponsored by: The FreeBSD Foundation
MFC after: 10 d

LinuxKPI: add ns_to_timespec64()

Add ns_to_timespec64() which does not seem to require anything from
us given timespec64 is aliases to timespec.

Sponsored by: The FreeBSD Foundation
MFC after: 10 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D40123

show more ...


# 3f39ff24 04-Apr-2023 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: Include linux/math64.h in linux/time.h

It's done like this in linux too.

Sponsored by: Beckhoff Automation GmbH & Co. KG


# d3975204 22-Oct-2022 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: add MSEC_PER_SEC

Sponsored by: The FreeBSD Foundation
Reviewed by: imp, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D37087


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


# bbd7a929 04-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r336870 through r337285, and resolve conflicts.


# 6040822c 30-Jul-2018 Alan Somers <asomers@FreeBSD.org>

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

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

show more ...


# d150e152 07-Jun-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Wrap timespec64 into timespec in the LinuxKPI.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks


# 45aca3b1 30-Apr-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Define USEC_PER_MSEC and USEC_PER_SEC in the LinuxKPI.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# 8b68f250 23-May-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

A missing definition needed by ktime_to_ms().

Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies


# 8d59ecb2 29-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Finish process of moving the LinuxKPI module into the default kernel build.

- Move all files related to the LinuxKPI into sys/compat/linuxkpi and
its subfolders.
- Update sys/conf/files and some M

Finish process of moving the LinuxKPI module into the default kernel build.

- Move all files related to the LinuxKPI into sys/compat/linuxkpi and
its subfolders.
- Update sys/conf/files and some Makefiles to use new file locations.
- Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn
adds the LinuxKPI to all LINT builds.
- The LinuxKPI can be added to the kernel by setting the
COMPAT_LINUXKPI option. The OFED kernel option no longer builds the
LinuxKPI into the kernel. This was done to keep the build rules for
the LinuxKPI in sys/conf/files simple.
- Extend the LinuxKPI module to include support for USB by moving the
Linux USB compat from usb.ko to linuxkpi.ko.
- Bump the FreeBSD_version.
- A universe kernel build has been done.

Reviewed by: np @ (cxgb and cxgbe related changes only)
Sponsored by: Mellanox Technologies

show more ...


# 382d6beb 20-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Move location of RCS keyword according to style.

Suggested by: jhb @
Sponsored by: Mellanox Technologies


# c0a81829 20-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Add missing dash to copyright clause.

Sponsored by: Mellanox Technologies


# 64bda586 19-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge LinuxKPI changes from DragonflyBSD:
- Reimplement ktime header file to distinguish more from Linux.
- Add new time header file to handle time related Linux functions.

Sponsored by: Mellanox Te

Merge LinuxKPI changes from DragonflyBSD:
- Reimplement ktime header file to distinguish more from Linux.
- Add new time header file to handle time related Linux functions.

Sponsored by: Mellanox Technologies

show more ...