/uspace/trunk/libc/generic/libc.c |
25,13 → 25,8 |
* (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 lc Libc |
* @brief HelenOS C library |
* @{ |
* @} |
*/ |
/** @addtogroup libc generic |
* @ingroup lc |
|
/** @addtogroup libc |
* @{ |
*/ |
/** @file |
/uspace/trunk/libc/arch/ppc32/src/thread.c |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
54,7 → 48,3 |
{ |
free(tcb); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/src/syscall.c |
26,14 → 26,6 |
* 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) |
56,7 → 48,3 |
|
return __ppc32_reg_r3; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/types.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
51,7 → 45,3 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/endian.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32_ENDIAN_H__ |
#define __ppc32_ENDIAN_H__ |
|
42,7 → 36,3 |
#define __BYTE_ORDER __BIG_ENDIAN |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/limits.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32__LIMITS_H__ |
#define __ppc32__LIMITS_H__ |
|
41,7 → 35,3 |
#define ULONG_MAX MAX_UINT32 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/thread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc32__THREAD_H__ |
#define __LIBC__ppc32__THREAD_H__ |
|
66,7 → 60,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/stackarg.h |
26,18 → 26,8 |
* 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/psthread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc32__PSTHREAD_H__ |
#define __LIBC__ppc32__PSTHREAD_H__ |
|
78,7 → 72,3 |
} __attribute__ ((packed)) context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/regname.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32_REGNAME_H__ |
#define __ppc32_REGNAME_H__ |
|
183,7 → 177,3 |
#define evr31 31 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc32/include/atomic.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc32_ATOMIC_H__ |
#define __ppc32_ATOMIC_H__ |
|
90,7 → 84,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/types.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
51,7 → 45,3 |
typedef unsigned long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/limits.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64__LIMITS_H__ |
#define __ia64__LIMITS_H__ |
|
44,7 → 38,3 |
|
|
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/endian.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64_ENDIAN_H__ |
#define __ia64_ENDIAN_H__ |
|
44,7 → 38,3 |
#endif |
|
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/psthread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia64PSTHREAD_H__ |
#define __LIBC__ia64PSTHREAD_H__ |
|
110,7 → 104,3 |
} context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/thread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia64THREAD_H__ |
#define __LIBC__ia64THREAD_H__ |
|
58,7 → 52,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/stack.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64_STACK_H__ |
#define __ia64_STACK_H__ |
|
41,7 → 35,3 |
#define REGISTER_STACK_ALIGNMENT 8 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/atomic.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia64_ATOMIC_H__ |
#define __ia64_ATOMIC_H__ |
|
61,7 → 55,3 |
static inline long atomic_postdec(atomic_t *val) { return atomic_add(val, -1); } |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia64/include/stackarg.h |
26,18 → 26,8 |
* 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/src/thread.c |
26,14 → 26,6 |
* 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> |
|
60,7 → 52,3 |
{ |
free(tcb); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32eb/include/endian.h |
25,16 → 25,7 |
* (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__ |
|
46,6 → 37,4 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/amd64/include/types.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
51,9 → 45,3 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/limits.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __amd64__LIMITS_H__ |
#define __amd64__LIMITS_H__ |
|
43,9 → 37,3 |
#endif |
|
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/endian.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __amd64_ENDIAN_H__ |
#define __amd64_ENDIAN_H__ |
|
43,9 → 37,3 |
|
#endif |
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/thread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__amd64THREAD_H__ |
#define __LIBC__amd64THREAD_H__ |
|
56,9 → 50,3 |
} |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/psthread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__amd64PSTHREAD_H__ |
#define __LIBC__amd64PSTHREAD_H__ |
|
62,9 → 56,3 |
} context_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/atomic.h |
26,14 → 26,6 |
* 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__ |
|
75,9 → 67,3 |
#define atomic_predec(val) (atomic_postdec(val)-1) |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/amd64/include/stackarg.h |
26,19 → 26,7 |
* 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/src/thread.c |
26,14 → 26,6 |
* 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> |
|
59,9 → 51,3 |
void *start = ((void *)tcb) - size; |
free(start); |
} |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/mips32/include/types.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
51,7 → 45,3 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/limits.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __mips32__LIMITS_H__ |
#define __mips32__LIMITS_H__ |
|
43,7 → 37,3 |
#endif |
|
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/endian.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __mips32_ENDIAN_H__ |
#define __mips32_ENDIAN_H__ |
|
43,7 → 37,3 |
|
#endif |
|
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/psthread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__mips32PSTHREAD_H__ |
#define __LIBC__mips32PSTHREAD_H__ |
|
71,7 → 65,3 |
} context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/thread.h |
26,12 → 26,6 |
* 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__ |
73,7 → 67,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/atomic.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __mips32_ATOMIC_H__ |
#define __mips32_ATOMIC_H__ |
|
71,7 → 65,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/include/stackarg.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC_mips32_STACKARG_H__ |
#define __LIBC_mips32_STACKARG_H__ |
|
56,7 → 50,3 |
#define va_end(ap) |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/src/thread.c |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
54,7 → 48,3 |
{ |
free(tcb); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/mips32/src/syscall.c |
26,14 → 26,6 |
* 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, |
60,7 → 52,3 |
|
return __mips_reg_v0; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ia32/include/types.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
51,9 → 45,3 |
typedef unsigned long long int uint64_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/limits.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia32__LIMITS_H__ |
#define __ia32__LIMITS_H__ |
|
42,9 → 36,3 |
|
#endif |
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/endian.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia32_ENDIAN_H__ |
#define __ia32_ENDIAN_H__ |
|
44,9 → 38,3 |
#endif |
|
|
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/thread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia32THREAD_H__ |
#define __LIBC__ia32THREAD_H__ |
|
56,9 → 50,3 |
} |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/psthread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ia32PSTHREAD_H__ |
#define __LIBC__ia32PSTHREAD_H__ |
|
59,9 → 53,3 |
} context_t; |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/atomic.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ia32_ATOMIC_H__ |
#define __ia32_ATOMIC_H__ |
|
73,9 → 67,3 |
#define atomic_predec(val) (atomic_postdec(val)-1) |
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/include/stackarg.h |
26,13 → 26,7 |
* 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. |
62,9 → 56,3 |
|
|
#endif |
|
|
/** @} |
*/ |
|
|
/uspace/trunk/libc/arch/ia32/src/syscall.c |
26,15 → 26,6 |
* 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, |
54,7 → 45,3 |
|
return ret; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/types.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
|
51,7 → 45,3 |
typedef unsigned long int uint64_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/psthread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc64__PSTHREAD_H__ |
#define __LIBC__ppc64__PSTHREAD_H__ |
|
78,7 → 72,3 |
} __attribute__ ((packed)) context_t; |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/atomic.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64_ATOMIC_H__ |
#define __ppc64_ATOMIC_H__ |
|
90,7 → 84,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/endian.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64_ENDIAN_H__ |
#define __ppc64_ENDIAN_H__ |
|
42,7 → 36,3 |
#define __BYTE_ORDER __BIG_ENDIAN |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/regname.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64_REGNAME_H__ |
#define __ppc64_REGNAME_H__ |
|
183,7 → 177,3 |
#define evr31 31 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/stackarg.h |
26,18 → 26,8 |
* 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,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __ppc64__LIMITS_H__ |
#define __ppc64__LIMITS_H__ |
|
41,7 → 35,3 |
#define ULONG_MAX MAX_UINT64 |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/include/thread.h |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#ifndef __LIBC__ppc64__THREAD_H__ |
#define __LIBC__ppc64__THREAD_H__ |
|
66,7 → 60,3 |
} |
|
#endif |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/src/thread.c |
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
|
#include <thread.h> |
#include <malloc.h> |
|
55,7 → 49,3 |
void *start = ((void *) tcb) - size; |
free(start); |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/arch/ppc64/src/syscall.c |
26,14 → 26,6 |
* 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) |
56,7 → 48,3 |
|
return __ppc32_reg_r3; |
} |
|
/** @} |
*/ |
|
/uspace/trunk/libc/malloc/malloc.c |
438,15 → 438,6 |
|
*/ |
|
/** @addtogroup libcmalloc malloc |
* @brief Malloc originally written by Doug Lea and ported to HelenOS. |
* @ingroup libc |
* @{ |
*/ |
/** @file |
*/ |
|
|
#include <sys/types.h> /* For size_t */ |
|
/** Non-default helenos customizations */ |
4414,7 → 4405,3 |
structure of old version, but most details differ.) |
|
*/ |
|
/** @} |
*/ |
|