From 41a9e149b783bb9baf0d5fbf51749d634eac291c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sundstr=C3=B6m?= Date: Sat, 2 May 2009 18:30:28 +0000 Subject: [PATCH] Adding a few directories for mipsel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30581 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/arch/mipsel/arch_setjmp.h | 11 +++++++++++ headers/posix/arch/mipsel/signal.h | 23 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 headers/posix/arch/mipsel/arch_setjmp.h create mode 100644 headers/posix/arch/mipsel/signal.h 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_ */