diff options
author | root <root> | 2011-05-30 02:21:54 +0000 |
---|---|---|
committer | root <root> | 2011-05-30 02:21:54 +0000 |
commit | 4629f0317532027f90b394ef51f76df36050f39e (patch) | |
tree | 5dd033f7847e11397b74a4a5e92c67e3cdd08c6a | |
parent | e67a54d9b79d17dd9b4309570d19e6bdc170626c (diff) |
*** empty log message ***
-rw-r--r-- | coro.c | 1 | ||||
-rw-r--r-- | coro.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -307,6 +307,7 @@ coro_create (coro_context *ctx, coro_func coro, void *arg, void *sptr, long ssiz #endif ctx->sp -= NUM_SAVED; + memset (ctx->sp, 0, sizeof (*ctx->sp) * NUM_SAVED); # elif CORO_UCONTEXT @@ -70,6 +70,7 @@ * 2008-11-19 define coro_*jmp symbols for easier porting. * 2009-06-23 tentative win32-backend support for mingw32 (Yasuhiro Matsumoto). * 2010-12-03 tentative support for uclibc (which lacks all sorts of things). + * 2011-05-30 set initial callee-saved-registers to zero with CORO_ASM. */ #ifndef CORO_H |