From dcc2c81e80826ac63c4d2ed39a8892e04e543a77 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 3 Nov 2008 16:05:38 +0000 Subject: *** empty log message *** --- coro.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'coro.h') diff --git a/coro.h b/coro.h index 2041d3b..a48fb8b 100644 --- a/coro.h +++ b/coro.h @@ -56,6 +56,7 @@ * 2008-04-04 New (but highly unrecommended) pthreads backend. * 2008-04-24 Reinstate CORO_LOSER (had wrong stack adjustments). * 2008-10-30 Support assembly method on x86 with and without frame pointer. + * 2008-11-03 Use a global asm statement for CORO_ASM, idea by pippijn. */ #ifndef CORO_H @@ -208,11 +209,11 @@ struct coro_context { #elif CORO_ASM struct coro_context { - volatile void **sp; + volatile void **sp; /* must be at offset 0 */ }; void __attribute__ ((__noinline__, __regparm__(2))) - coro_transfer (coro_context *prev, coro_context *next); +coro_transfer (coro_context *prev, coro_context *next); #elif CORO_PTHREAD -- cgit v1.2.3