/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; |
} |
|
/** @} |
*/ |
|