/uspace/trunk/libc/arch/ia64/include/psthread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia64PSTHREAD_H__ |
#define __LIBC__ia64PSTHREAD_H__ |
|
104,3 → 110,7 |
} context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/atomic.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64_ATOMIC_H__ |
#define __ia64_ATOMIC_H__ |
|
55,3 → 61,7 |
static inline long atomic_postdec(atomic_t *val) { return atomic_add(val, -1); } |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/endian.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64_ENDIAN_H__ |
#define __ia64_ENDIAN_H__ |
|
38,3 → 44,7 |
#endif |
|
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/stackarg.h |
26,8 → 26,18 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
|
#endif |
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/limits.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64__LIMITS_H__ |
#define __ia64__LIMITS_H__ |
|
38,3 → 44,7 |
|
|
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/types.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
45,3 → 51,7 |
typedef unsigned long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/stack.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64_STACK_H__ |
#define __ia64_STACK_H__ |
|
35,3 → 41,7 |
#define REGISTER_STACK_ALIGNMENT 8 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/thread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia64THREAD_H__ |
#define __LIBC__ia64THREAD_H__ |
|
52,3 → 58,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/src/thread.c |
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 ia64 |
* @brief ia64 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
52,3 → 60,7 |
{ |
free(tcb); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32eb/include/endian.h |
25,7 → 25,16 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmipseb32 mipseb32 |
* @brief mipseb32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
|
#ifndef __mips32eb_ENDIAN_H__ |
#define __mips32eb_ENDIAN_H__ |
|
37,4 → 46,6 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/psthread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc32__PSTHREAD_H__ |
#define __LIBC__ppc32__PSTHREAD_H__ |
|
72,3 → 78,7 |
} __attribute__ ((packed)) context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/atomic.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32_ATOMIC_H__ |
#define __ppc32_ATOMIC_H__ |
|
84,3 → 90,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/endian.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32_ENDIAN_H__ |
#define __ppc32_ENDIAN_H__ |
|
36,3 → 42,7 |
#define __BYTE_ORDER __BIG_ENDIAN |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/regname.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32_REGNAME_H__ |
#define __ppc32_REGNAME_H__ |
|
177,3 → 183,7 |
#define evr31 31 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/stackarg.h |
26,8 → 26,18 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
|
#endif |
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/limits.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32__LIMITS_H__ |
#define __ppc32__LIMITS_H__ |
|
35,3 → 41,7 |
#define ULONG_MAX MAX_UINT32 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/types.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
45,3 → 51,7 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/thread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc32__THREAD_H__ |
#define __LIBC__ppc32__THREAD_H__ |
|
60,3 → 66,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/src/thread.c |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
48,3 → 54,7 |
{ |
free(tcb); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/src/syscall.c |
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 ppc32 |
* @brief ppc32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
#include <libc.h> |
|
sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id) |
48,3 → 56,7 |
|
return __ppc32_reg_r3; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/amd64/include/psthread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__amd64PSTHREAD_H__ |
#define __LIBC__amd64PSTHREAD_H__ |
|
56,3 → 62,9 |
} context_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/atomic.h |
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 amd64 |
* @ingroup lc |
* @brief amd64 architecture dependent parts of libc |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __amd64_ATOMIC_H__ |
#define __amd64_ATOMIC_H__ |
|
67,3 → 75,9 |
#define atomic_predec(val) (atomic_postdec(val)-1) |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/endian.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __amd64_ENDIAN_H__ |
#define __amd64_ENDIAN_H__ |
|
37,3 → 43,9 |
|
#endif |
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/stackarg.h |
26,7 → 26,19 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/limits.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __amd64__LIMITS_H__ |
#define __amd64__LIMITS_H__ |
|
37,3 → 43,9 |
#endif |
|
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/types.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
45,3 → 51,9 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/thread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__amd64THREAD_H__ |
#define __LIBC__amd64THREAD_H__ |
|
50,3 → 56,9 |
} |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/src/thread.c |
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 amd64 |
* @addtogroup libcia32 |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
51,3 → 59,9 |
void *start = ((void *)tcb) - size; |
free(start); |
} |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ppc64/include/psthread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc64__PSTHREAD_H__ |
#define __LIBC__ppc64__PSTHREAD_H__ |
|
72,3 → 78,7 |
} __attribute__ ((packed)) context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/atomic.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64_ATOMIC_H__ |
#define __ppc64_ATOMIC_H__ |
|
84,3 → 90,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/endian.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64_ENDIAN_H__ |
#define __ppc64_ENDIAN_H__ |
|
36,3 → 42,7 |
#define __BYTE_ORDER __BIG_ENDIAN |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/regname.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64_REGNAME_H__ |
#define __ppc64_REGNAME_H__ |
|
177,3 → 183,7 |
#define evr31 31 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/stackarg.h |
26,8 → 26,18 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
|
#endif |
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/limits.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64__LIMITS_H__ |
#define __ppc64__LIMITS_H__ |
|
35,3 → 41,7 |
#define ULONG_MAX MAX_UINT64 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/types.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
45,3 → 51,7 |
typedef unsigned long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/thread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc64__THREAD_H__ |
#define __LIBC__ppc64__THREAD_H__ |
|
60,3 → 66,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/src/thread.c |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
49,3 → 55,7 |
void *start = ((void *) tcb) - size; |
free(start); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/src/syscall.c |
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 ppc64 |
* @brief ppc64 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
#include <libc.h> |
|
sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id) |
48,3 → 56,7 |
|
return __ppc32_reg_r3; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/psthread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__mips32PSTHREAD_H__ |
#define __LIBC__mips32PSTHREAD_H__ |
|
65,3 → 71,7 |
} context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/atomic.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __mips32_ATOMIC_H__ |
#define __mips32_ATOMIC_H__ |
|
65,3 → 71,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/endian.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __mips32_ENDIAN_H__ |
#define __mips32_ENDIAN_H__ |
|
37,3 → 43,7 |
|
#endif |
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/stackarg.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC_mips32_STACKARG_H__ |
#define __LIBC_mips32_STACKARG_H__ |
|
50,3 → 56,7 |
#define va_end(ap) |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/limits.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __mips32__LIMITS_H__ |
#define __mips32__LIMITS_H__ |
|
37,3 → 43,7 |
#endif |
|
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/types.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
45,3 → 51,7 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/thread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
/* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ |
|
#ifndef __LIBC__mips32THREAD_H__ |
67,3 → 73,7 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/src/thread.c |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
48,3 → 54,7 |
{ |
free(tcb); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/src/syscall.c |
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 mips32 |
* @brief mips32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
#include <libc.h> |
|
sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, |
52,3 → 60,7 |
|
return __mips_reg_v0; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia32/include/psthread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia32PSTHREAD_H__ |
#define __LIBC__ia32PSTHREAD_H__ |
|
53,3 → 59,9 |
} context_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/atomic.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia32_ATOMIC_H__ |
#define __ia32_ATOMIC_H__ |
|
67,3 → 73,9 |
#define atomic_predec(val) (atomic_postdec(val)-1) |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/endian.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia32_ENDIAN_H__ |
#define __ia32_ENDIAN_H__ |
|
38,3 → 44,9 |
#endif |
|
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/stackarg.h |
26,7 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
|
/* |
* Variable argument list manipulation macros |
* for architectures using stack to pass arguments. |
56,3 → 62,9 |
|
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/limits.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia32__LIMITS_H__ |
#define __ia32__LIMITS_H__ |
|
36,3 → 42,9 |
|
#endif |
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/types.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
45,3 → 51,9 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/thread.h |
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia32THREAD_H__ |
#define __LIBC__ia32THREAD_H__ |
|
50,3 → 56,9 |
} |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/src/syscall.c |
26,6 → 26,15 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 ia32 |
* @brief ia32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <libc.h> |
|
sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, |
45,3 → 54,7 |
|
return ret; |
} |
|
/** @} |
*/ |
|