fix asm_switch_context() for the x86 and x86_64 archs
[bertos.git] / bertos / cpu / frame.h
index dbb20a1ec67aa6692d504f2fb83b3d9e57024887..90995a8a7c13c652d859532852a68487968b53aa 100644 (file)
@@ -53,7 +53,7 @@
 #if CPU_X86
        #if CPU_X86_32
 
-               #define CPU_SAVED_REGS_CNT      4
+               #define CPU_SAVED_REGS_CNT      2
                #define CPU_STACK_GROWS_UPWARD  0
                #define CPU_SP_ON_EMPTY_SLOT    0