Support 64bit CPUs
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 18 Feb 2008 15:22:53 +0000 (15:22 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 18 Feb 2008 15:22:53 +0000 (15:22 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1124 38d2e660-2303-0410-9eaa-f027e97ec537

config_kern.h

index 2dcbae90c4eceec7c3e64d87b7d25f0821a7b6fb..c703b4def2006b2d058d81fa395e9c0a1e48af6b 100644 (file)
                /* 16bit cpustack_t */
                #define CONFIG_KERN_STACKFILLCODE  0xA5A5A5A5UL
                #define CONFIG_KERN_MEMFILLCODE    0xDBDBDBDBUL
+       #elif (SIZEOF_CPUSTACK_T == 8)
+               /* 16bit cpustack_t */
+               #define CONFIG_KERN_STACKFILLCODE  0xA5A5A5A5A5A5A5A5UL
+               #define CONFIG_KERN_MEMFILLCODE    0xDBDBDBDBDBDBDBDBUL
        #else
                #error No cpustack_t size supported!
        #endif