summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-07 14:08:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-08 07:43:02 +0200
commit8bb9d4100c42a0f0554e8f8f3f0138177f2c21f2 (patch)
tree334ce194c48cc83e3bcb8951a1271a38907fefc1 /cpukit/score/cpu/powerpc/rtems
parentstackchk: Remove superfluous internal header file (diff)
downloadrtems-8bb9d4100c42a0f0554e8f8f3f0138177f2c21f2.tar.bz2
stackchk: Use a const pattern to check
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h10
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