2
0
David Rose 18 жил өмнө
parent
commit
c6d2da38f1

+ 5 - 0
panda/src/pipeline/contextSwitch.h

@@ -69,6 +69,11 @@ typedef jmp_buf cs_jmp_buf;
 
 
 #ifdef JB_SP
 #ifdef JB_SP
 #define CS_JB_SP JB_SP
 #define CS_JB_SP JB_SP
+
+#elif defined(__ppc__)
+  /* This was determined experimentally through test_setjmp. */
+#define CS_JB_SP 0
+
 #endif
 #endif
 
 
 #endif  /* __i386__ */
 #endif  /* __i386__ */