[PATCH rtems-libbsd 1/7] rtemsbsd: Catch timeout overflows
Chris Johns
chrisj at rtems.org
Mon Aug 2 08:37:54 UTC 2021
On 29/7/21 8:44 am, Chris Johns wrote:
> On 28/7/21 4:44 pm, Sebastian Huber wrote:
>> On 28/07/2021 08:43, Chris Johns wrote:
>>>> Why don't we use the FreeBSD implementation one-to-one:
>>>>
>>>> freebsd-org/sys/kern/kern_clock.c
>>>>
>>> I am fixing the code that exists. I have no idea why kern_clock.c was not ported
>>> in the first place. I will not be porting the clock code at this point in time,
>>> that is out of scope for my current work.
>>
>> What I meant was to copy the tvtohz() from kern_clock.c to this file.
>
> Ah ok, sure I can take a look.
The only difference is some extra checks and if there is value in having those
checks they should be added to the cpukit.
Chris
More information about the devel
mailing list