diff --git a/headers/posix/arch/mipsel/arch_setjmp.h b/headers/posix/arch/mipsel/arch_setjmp.h new file mode 100644 index 0000000000..0c798aec07 --- /dev/null +++ b/headers/posix/arch/mipsel/arch_setjmp.h @@ -0,0 +1,11 @@ +/* + * Copyright 2008, Haiku, Inc. + * Distributed under the terms of the MIT License. + */ +#ifndef _ARCH_SETJMP_H_ +#define _ARCH_SETJMP_H_ + +typedef int __jmp_buf[42]; +#warning MIPSEL: fix jmpbuf size + +#endif /* _ARCH_SETJMP_H_ */ diff --git a/headers/posix/arch/mipsel/signal.h b/headers/posix/arch/mipsel/signal.h new file mode 100644 index 0000000000..b8eee8b0f7 --- /dev/null +++ b/headers/posix/arch/mipsel/signal.h @@ -0,0 +1,23 @@ +/* + * Copyright 2008, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _ARCH_SIGNAL_H_ +#define _ARCH_SIGNAL_H_ + +/* + * Architecture-specific structure passed to signal handlers + */ + +#if __MIPSEL__ +struct vregs +{ + ulong r0; + /* r1, r2, ... */ + +#warning MIPSEL: fixme +}; +#endif /* __MIPSEL__ */ + + +#endif /* _ARCH_SIGNAL_H_ */