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