git: DragonFly_RELEASE_6_4 acpica: Some cleanups to acpi_hpet.c
Aaron LI
aly at crater.dragonflybsd.org
Wed Aug 27 05:22:17 PDT 2025
commit 05fdc4e9c71d67b32ee1609b9ad42fe649e49c81
Author: Aaron LI <aly at aaronly.me>
Date: Wed Aug 27 06:16:18 2025 +0800
acpica: Some cleanups to acpi_hpet.c
Similar to the cleanups to acpi_timer.c, simplify the if-else
conditional in *_get_timecount() functions, define the ACPI_HPET_MASK
and ACPI_HPET_HIBITS constants.
Meanwhile, adjust the return type of 'acpi_hpet_read()' to uint32_t for
consistency.
Summary of changes:
sys/dev/acpica/acpi_hpet.c | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/05fdc4e9c71d67b32ee1609b9ad42fe649e49c81
--
DragonFly BSD source repository
More information about the Commits
mailing list