diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-07 14:08:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-08 07:43:02 +0200 |
commit | 8bb9d4100c42a0f0554e8f8f3f0138177f2c21f2 (patch) | |
tree | 334ce194c48cc83e3bcb8951a1271a38907fefc1 /cpukit/score/cpu | |
parent | stackchk: Remove superfluous internal header file (diff) | |
download | rtems-8bb9d4100c42a0f0554e8f8f3f0138177f2c21f2.tar.bz2 |
stackchk: Use a const pattern to check
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/cpu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 7a0fa23dcf..b7be5ad0a4 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -649,7 +649,15 @@ typedef struct CPU_Interrupt_frame { * for most architectures. */ -#define CPU_STACK_CHECK_SIZE (128) +#define CPU_STACK_CHECK_PATTERN_INITIALIZER \ + { 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06, \ + 0xFEEDF00D, 0x0BAD0D06, 0xDEADF00D, 0x600D0D06 } /* * Amount of extra stack (above minimum stack size) required by |