From 5a9372ff7ead4a8d91d5acb7cb6f04df0cc41814 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Aug 2017 11:35:33 +0200 Subject: powerpc: 64-bit support for CPU_SIZEOF_POINTER Update #3082. --- cpukit/score/cpu/powerpc/rtems/score/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/score/cpu/powerpc') diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 28f9a25eba..fbebbf643e 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -679,7 +679,11 @@ void _BSP_Fatal_error(unsigned int); #define CPU_STACK_MINIMUM_SIZE (1024*8) +#if defined(__powerpc64__) +#define CPU_SIZEOF_POINTER 8 +#else #define CPU_SIZEOF_POINTER 4 +#endif /* * CPU's worst alignment requirement for data types on a byte boundary. This -- cgit v1.2.3