Inconsistent behaviour with respect to the ticks in the *_when() directives

2021-05-13 Thread Sebastian Huber
Hello, I noticed that we have an inconsistent behaviour with respect to the handling of the ticks member in the *_when() directives. In all *_when() directives the ticks member is not used to calculate the watchdog expiration time, see also: https://lists.rtems.org/pipermail/users/2020-Decem

[PATCH v7] rtems-debugger: Fixed 32bit pointers

2021-05-13 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. Added hex_decode_uintptr function to rtems-debugger. --- cpukit/libdebugger/rtems-debugger-server.c

Re: code review: help implementing clock_montonic

2021-05-13 Thread Gedare Bloom
On Wed, May 12, 2021 at 2:42 PM zack_on_the_speed_chanel wrote: > > > This ticket mostly references the need for a test. Have you tried to > > write a test for the missing functionality? > > > How I made a test for it was to create the timer using timer_create() . It > also said to use a previous

Re: [PATCH v6] rtems-debugger: Fixed 32bit pointers

2021-05-13 Thread Gedare Bloom
On Wed, May 12, 2021 at 1:21 PM Stephen Clark wrote: > > Using 32bit types like uint32_t for pointers creates issues on 64 bit > architectures like AArch64. Replaced occurrences of these with uintptr_t, > which will work for both 32 and 64 bit architectures. Added hex_decode_uintptr > function to

Re: GSoC - Code Formatting and Style Checking for RTEMS score

2021-05-13 Thread Gedare Bloom
On Wed, May 12, 2021 at 2:18 PM Ida Delphine wrote: > > Hello everyone, > Still waiting for some feedback :) > > Cheers, > Ida. > > On Mon, 10 May 2021, 5:59 am Ida Delphine, wrote: >> >> Hello everyone, >> Went through some previous emails and it turns out Sebastian already came up >> with a co