Re: Remove timecounter tc_counter_mask member?

From: Sebastian Huber <sebastian.huber_at_embedded-brains.de>
Date: Tue, 19 Sep 2023 15:28:31 UTC
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?

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/