[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 3/4] ucontext.h: Import from musl
Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx> On 9/4/19 1:25 PM, Charalampos Mainas wrote: > Copied as is from the official musl git mirror > git://git.musl-libc.org/musl, commit 6fcb440d. > > Signed-off-by: Charalampos Mainas <Charalampos.Mainas@xxxxxxxxx> > --- > musl-imported/include/ucontext.h | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 musl-imported/include/ucontext.h > > diff --git a/musl-imported/include/ucontext.h > b/musl-imported/include/ucontext.h > new file mode 100644 > index 0000000..3bb776e > --- /dev/null > +++ b/musl-imported/include/ucontext.h > @@ -0,0 +1,25 @@ > +#ifndef _UCONTEXT_H > +#define _UCONTEXT_H > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +#include <features.h> > + > +#include <signal.h> > + > +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) > +#define NGREG (sizeof(gregset_t)/sizeof(greg_t)) > +#endif > + > +struct __ucontext; > + > +int getcontext(struct __ucontext *); > +void makecontext(struct __ucontext *, void (*)(void), int, ...); > +int setcontext(const struct __ucontext *); > +int swapcontext(struct __ucontext *, const struct __ucontext *); > + > +#ifdef __cplusplus > +} > +#endif > +#endif > _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |