From d6fbd88855cb8609807fb4fe7ace954c79648a96 Mon Sep 17 00:00:00 2001 From: arighi Date: Wed, 17 Mar 2010 18:31:04 +0000 Subject: [PATCH] Avoid duplicate definitions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3231 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/frame.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 -- 2.25.1