Re: Remove timecounter tc_counter_mask member?
- Reply: Warner Losh : "Re: Remove timecounter tc_counter_mask member?"
- In reply to: Sebastian Huber : "Re: Remove timecounter tc_counter_mask member?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Sep 2023 15:41:33 UTC
-------- Sebastian Huber writes: > On 16.09.23 22:44, Poul-Henning Kamp wrote: > > Sebastian Huber writes: > > > >> the timecounter structure contains a tc_counter_mask which enables > >> support for time counters implementing less than 32-bits: > >> Is the sys/x86/isa/clock.c still used? Are there chips on the market > >> with 24-bit ACPI timers? > > ... and are there any FreeBSD platforms using narrow timecounters > > outside the src-tree ? > > > > My personal gut feeling, is that we can get away with it, once i386 > > is out of the picture. > > If it is in principle acceptable to remove the tc_counter_mask at some > point in time, would it make sense to issue a warning if a timecounter > is installed with a mask not equal to 0xffffffff? It would be a good a way to warn people... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.