From: arighi Date: Wed, 17 Mar 2010 18:31:04 +0000 (+0000) Subject: Avoid duplicate definitions. X-Git-Tag: 2.4.0~33 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d6fbd88855cb8609807fb4fe7ace954c79648a96;p=bertos.git Avoid duplicate definitions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3231 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/frame.h b/bertos/cpu/frame.h index 90995a8a..6c968649 100644 --- a/bertos/cpu/frame.h +++ b/bertos/cpu/frame.h @@ -52,19 +52,14 @@ #if CPU_X86 #if CPU_X86_32 - #define CPU_SAVED_REGS_CNT 2 - #define CPU_STACK_GROWS_UPWARD 0 - #define CPU_SP_ON_EMPTY_SLOT 0 - #elif CPU_X86_64 - #define CPU_SAVED_REGS_CNT 8 - #define CPU_STACK_GROWS_UPWARD 0 - #define CPU_SP_ON_EMPTY_SLOT 0 #else #error "unknown CPU" #endif + #define CPU_STACK_GROWS_UPWARD 0 + #define CPU_SP_ON_EMPTY_SLOT 0 #elif CPU_ARM