Re: [PATCH v1 1/2] cpukit: Fixed 32bit pointers

2021-03-18 Thread Joel Sherrill
On Thu, Mar 18, 2021 at 9:18 AM 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. > --- > cpukit/libdebugger/rtems-debugg

Re: [PATCH v1 1/2] cpukit: Fixed 32bit pointers

2021-03-18 Thread Gedare Bloom
On Thu, Mar 18, 2021 at 8:18 AM 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. I'd like Chris' opinion on this patch.

[PATCH v1 1/2] cpukit: Fixed 32bit pointers

2021-03-18 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. --- cpukit/libdebugger/rtems-debugger-server.c | 4 ++-- cpukit/libdebugger/rtems-debugger-target.c