CPU_SAVED_REGS_CNT: Declare for x86/x86_64.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 24 Feb 2006 01:17:30 +0000 (01:17 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 24 Feb 2006 01:17:30 +0000 (01:17 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@554 38d2e660-2303-0410-9eaa-f027e97ec537

cfg/cpu.h

index 75ea08630a6c38a6185cf2e1c968c880e2d0410a..cfc2316e801935eb58f5ba3e12df5febcff9b255 100755 (executable)
--- a/cfg/cpu.h
+++ b/cfg/cpu.h
@@ -17,6 +17,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.10  2006/02/24 01:17:30  bernie
+ *#* CPU_SAVED_REGS_CNT: Declare for x86/x86_64.
+ *#*
  *#* Revision 1.9  2006/02/23 09:08:43  bernie
  *#* Add note for a frequently reported non-bug.
  *#*
 
 
        #define CPU_REGS_CNT            7
+       #define CPU_SAVED_REGS_CNT      7
        #define CPU_STACK_GROWS_UPWARD  0
        #define CPU_SP_ON_EMPTY_SLOT    0
        #define CPU_BYTE_ORDER          CPU_LITTLE_ENDIAN
 
 #else
        #define CPU_PUSH_CALL_CONTEXT(sp, func) \
-               CPU_PUSH_WORD((sp), (func))
+               CPU_PUSH_WORD((sp), (cpustack_t)(func))
 #endif