/trunk/uspace/libc/arch/sparc64/include/context_offset.h |
---|
19,4 → 19,3 |
#define OFFSET_L6 0x80 |
#define OFFSET_L7 0x88 |
#define OFFSET_TP 0x90 |
/trunk/uspace/libc/arch/sparc64/include/endian.h |
---|
35,7 → 35,7 |
#ifndef LIBC_sparc64_ENDIAN_H_ |
#define LIBC_sparc64_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
/trunk/uspace/libc/arch/sparc64/include/limits.h |
---|
32,8 → 32,8 |
/** @file |
*/ |
#ifndef LIBC_sparc64__LIMITS_H_ |
#define LIBC_sparc64__LIMITS_H_ |
#ifndef LIBC_sparc64_LIMITS_H_ |
#define LIBC_sparc64_LIMITS_H_ |
#define LONG_MIN MIN_INT64 |
#define LONG_MAX MAX_INT64 |
/trunk/uspace/libc/arch/ia64/include/psthread.h |
---|
135,6 → 135,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia64/include/atomic.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 |
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ATOMIC_H__ |
#define __ia64_ATOMIC_H__ |
#ifndef LIBC_ia64_ATOMIC_H_ |
#define LIBC_ia64_ATOMIC_H_ |
/** Atomic addition. |
* |
62,6 → 62,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia64/include/endian.h |
---|
26,16 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 |
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ENDIAN_H__ |
#define __ia64_ENDIAN_H__ |
#ifndef LIBC_ia64_ENDIAN_H_ |
#define LIBC_ia64_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
43,8 → 43,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia64/include/stackarg.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 |
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
#ifndef LIBC_STACKARG_H_ |
#define LIBC_STACKARG_H_ |
#endif |
/trunk/uspace/libc/arch/ia64/include/limits.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 |
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64__LIMITS_H__ |
#define __ia64__LIMITS_H__ |
#ifndef LIBC_ia64_LIMITS_H_ |
#define LIBC_ia64_LIMITS_H_ |
# define LONG_MIN MIN_INT64 |
# define LONG_MAX MAX_INT64 |
42,9 → 42,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia64/include/stack.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 |
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_STACK_H__ |
#define __ia64_STACK_H__ |
#ifndef LIBC_ia64_STACK_H_ |
#define LIBC_ia64_STACK_H_ |
#define STACK_ITEM_SIZE 8 |
#define STACK_ALIGNMENT 16 |
42,6 → 42,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia64/include/thread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 |
/** @addtogroup libcia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ia64THREAD_H__ |
#define __LIBC__ia64THREAD_H__ |
#ifndef LIBC_ia64THREAD_H_ |
#define LIBC_ia64THREAD_H_ |
#define THREAD_INITIAL_STACK_PAGES_NO 2 |
59,6 → 59,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia64/src/thread.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia64 ia64 |
/** @addtogroup libcia64 ia64 |
* @brief ia64 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
61,6 → 61,5 |
free(tcb); |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32eb/include/endian.h |
---|
35,10 → 35,10 |
*/ |
#ifndef __mips32eb_ENDIAN_H__ |
#define __mips32eb_ENDIAN_H__ |
#ifndef LIBC_mips32eb_ENDIAN_H_ |
#define LIBC_mips32eb_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
46,6 → 46,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/context_offset.h |
---|
23,7 → 23,3 |
#define OFFSET_R31 0x54 |
#define OFFSET_CR 0x58 |
#define OFFSET_CR 0x58 |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/psthread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ppc32__PSTHREAD_H__ |
#define __LIBC__ppc32__PSTHREAD_H__ |
#ifndef LIBC_ppc32_PSTHREAD_H_ |
#define LIBC_ppc32_PSTHREAD_H_ |
#include <types.h> |
79,6 → 79,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/atomic.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ATOMIC_H__ |
#define __ppc32_ATOMIC_H__ |
#ifndef LIBC_ppc32_ATOMIC_H_ |
#define LIBC_ppc32_ATOMIC_H_ |
static inline void atomic_inc(atomic_t *val) |
{ |
91,6 → 91,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/endian.h |
---|
26,16 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ENDIAN_H__ |
#define __ppc32_ENDIAN_H__ |
#ifndef LIBC_ppc32_ENDIAN_H_ |
#define LIBC_ppc32_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
43,6 → 43,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/regname.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_REGNAME_H__ |
#define __ppc32_REGNAME_H__ |
#ifndef LIBC_ppc32_REGNAME_H_ |
#define LIBC_ppc32_REGNAME_H_ |
/* Condition Register Bit Fields */ |
#define cr0 0 |
184,6 → 184,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/stackarg.h |
---|
26,18 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
#ifndef LIBC_STACKARG_H_ |
#define LIBC_STACKARG_H_ |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/limits.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32__LIMITS_H__ |
#define __ppc32__LIMITS_H__ |
#ifndef LIBC_ppc32_LIMITS_H_ |
#define LIBC_ppc32_LIMITS_H_ |
#define LONG_MIN MIN_INT32 |
#define LONG_MAX MAX_INT32 |
42,6 → 42,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/include/thread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ppc32__THREAD_H__ |
#define __LIBC__ppc32__THREAD_H__ |
#ifndef LIBC_ppc32_THREAD_H_ |
#define LIBC_ppc32_THREAD_H_ |
#define PPC_TP_OFFSET 0x7000 |
67,6 → 67,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/src/thread.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 |
/** @addtogroup libcppc32 |
* @{ |
*/ |
/** @file |
55,6 → 55,5 |
free(tcb); |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc32/src/syscall.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc32 ppc32 |
/** @addtogroup libcppc32 ppc32 |
* @brief ppc32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
57,6 → 57,5 |
return __ppc32_reg_r3; |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/amd64/include/psthread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcamd64 |
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__amd64PSTHREAD_H__ |
#define __LIBC__amd64PSTHREAD_H__ |
#ifndef LIBC_amd64_PSTHREAD_H_ |
#define LIBC_amd64_PSTHREAD_H_ |
#include <types.h> |
63,8 → 63,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/amd64/include/atomic.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcamd64 amd64 |
/** @addtogroup libcamd64 amd64 |
* @ingroup lc |
* @brief amd64 architecture dependent parts of libc |
* @{ |
34,8 → 34,8 |
/** @file |
*/ |
#ifndef __amd64_ATOMIC_H__ |
#define __amd64_ATOMIC_H__ |
#ifndef LIBC_amd64_ATOMIC_H_ |
#define LIBC_amd64_ATOMIC_H_ |
static inline void atomic_inc(atomic_t *val) { |
__asm__ volatile ("lock incq %0\n" : "=m" (val->count)); |
76,8 → 76,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/amd64/include/endian.h |
---|
26,16 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcamd64 |
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ENDIAN_H__ |
#define __amd64_ENDIAN_H__ |
#ifndef LIBC_amd64_ENDIAN_H_ |
#define LIBC_amd64_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
43,9 → 43,7 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/amd64/include/stackarg.h |
---|
26,19 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcamd64 |
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
#ifndef LIBC_STACKARG_H_ |
#define LIBC_STACKARG_H_ |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/amd64/include/limits.h |
---|
32,8 → 32,8 |
/** @file |
*/ |
#ifndef __amd64__LIMITS_H__ |
#define __amd64__LIMITS_H__ |
#ifndef LIBC_amd64_LIMITS_H_ |
#define LIBC_amd64_LIMITS_H_ |
# define LONG_MIN MIN_INT64 |
# define LONG_MAX MAX_INT64 |
/trunk/uspace/libc/arch/amd64/include/types.h |
---|
32,8 → 32,8 |
/** @file |
*/ |
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
#ifndef LIBC_amd64_TYPES_H_ |
#define LIBC_amd64_TYPES_H_ |
typedef unsigned long long sysarg_t; |
typedef unsigned long size_t; |
/trunk/uspace/libc/arch/amd64/include/thread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcamd64 |
/** @addtogroup libcamd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__amd64THREAD_H__ |
#define __LIBC__amd64THREAD_H__ |
#ifndef LIBC_amd64_THREAD_H_ |
#define LIBC_amd64_THREAD_H_ |
#include <libc.h> |
57,8 → 57,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/amd64/src/thread.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcamd64 amd64 |
/** @addtogroup libcamd64 amd64 |
* @ingroup lc |
* @{ |
*/ |
60,8 → 60,5 |
free(start); |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/context_offset.h |
---|
22,7 → 22,3 |
#define OFFSET_R30 0x50 |
#define OFFSET_R31 0x54 |
#define OFFSET_CR 0x58 |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/psthread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ppc64__PSTHREAD_H__ |
#define __LIBC__ppc64__PSTHREAD_H__ |
#ifndef LIBC_ppc64_PSTHREAD_H_ |
#define LIBC_ppc64_PSTHREAD_H_ |
#include <types.h> |
79,6 → 79,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/atomic.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ATOMIC_H__ |
#define __ppc64_ATOMIC_H__ |
#ifndef LIBC_ppc64_ATOMIC_H_ |
#define LIBC_ppc64_ATOMIC_H_ |
static inline void atomic_inc(atomic_t *val) |
{ |
91,6 → 91,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/endian.h |
---|
26,16 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ENDIAN_H__ |
#define __ppc64_ENDIAN_H__ |
#ifndef LIBC_ppc64_ENDIAN_H_ |
#define LIBC_ppc64_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
43,6 → 43,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/regname.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_REGNAME_H__ |
#define __ppc64_REGNAME_H__ |
#ifndef LIBC_ppc64_REGNAME_H_ |
#define LIBC_ppc64_REGNAME_H_ |
/* Condition Register Bit Fields */ |
#define cr0 0 |
184,6 → 184,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/stackarg.h |
---|
26,18 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__STACKARG_H__ |
#define __LIBC__STACKARG_H__ |
#ifndef LIBC_STACKARG_H_ |
#define LIBC_STACKARG_H_ |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/limits.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64__LIMITS_H__ |
#define __ppc64__LIMITS_H__ |
#ifndef LIBC_ppc64_LIMITS_H_ |
#define LIBC_ppc64_LIMITS_H_ |
#define LONG_MIN MIN_INT64 |
#define LONG_MAX MAX_INT64 |
42,6 → 42,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/include/thread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ppc64__THREAD_H__ |
#define __LIBC__ppc64__THREAD_H__ |
#ifndef LIBC_ppc64_THREAD_H_ |
#define LIBC_ppc64_THREAD_H_ |
#define PPC_TP_OFFSET 0x7000 |
67,6 → 67,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/src/thread.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 |
/** @addtogroup libcppc64 |
* @{ |
*/ |
/** @file |
56,6 → 56,5 |
free(start); |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ppc64/src/syscall.c |
---|
26,9 → 26,9 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcppc64 ppc64 |
* @brief ppc64 architecture dependent parts of libc |
* @ingroup lc |
/** @addtogroup libcppc64 ppc64 |
* @brief ppc64 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
*/ |
/** @file |
57,6 → 57,5 |
return __ppc32_reg_r3; |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/context_offset.h |
---|
26,6 → 26,3 |
#define OFFSET_F29 0x58 |
#define OFFSET_F30 0x5c |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/psthread.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 |
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
33,8 → 33,8 |
* @ingroup libcmips32eb |
*/ |
#ifndef __LIBC__mips32PSTHREAD_H__ |
#define __LIBC__mips32PSTHREAD_H__ |
#ifndef LIBC_mips32_PSTHREAD_H_ |
#define LIBC_mips32_PSTHREAD_H_ |
#include <types.h> |
86,6 → 86,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/atomic.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 |
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
33,8 → 33,8 |
* @ingroup libcmips32eb |
*/ |
#ifndef __mips32_ATOMIC_H__ |
#define __mips32_ATOMIC_H__ |
#ifndef LIBC_mips32_ATOMIC_H_ |
#define LIBC_mips32_ATOMIC_H_ |
#define atomic_inc(x) ((void) atomic_add(x, 1)) |
#define atomic_dec(x) ((void) atomic_add(x, -1)) |
73,6 → 73,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/endian.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 mips32 |
/** @addtogroup libcmips32 mips32 |
* @brief mips32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
34,10 → 34,10 |
/** @file |
*/ |
#ifndef __mips32_ENDIAN_H__ |
#define __mips32_ENDIAN_H__ |
#ifndef LIBC_mips32_ENDIAN_H_ |
#define LIBC_mips32_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
45,7 → 45,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/stackarg.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 |
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
33,8 → 33,8 |
* @ingroup libcmips32eb |
*/ |
#ifndef __LIBC_mips32_STACKARG_H__ |
#define __LIBC_mips32_STACKARG_H__ |
#ifndef LIBC_mips32_STACKARG_H_ |
#define LIBC_mips32_STACKARG_H_ |
/* dont allow to define it second time in stdarg.h */ |
#define __VARARGS_DEFINED |
58,6 → 58,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/limits.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 |
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
33,8 → 33,8 |
* @ingroup libcmips32eb |
*/ |
#ifndef __mips32__LIMITS_H__ |
#define __mips32__LIMITS_H__ |
#ifndef LIBC_mips32__LIMITS_H_ |
#define LIBC_mips32__LIMITS_H_ |
# define LONG_MIN MIN_INT32 |
# define LONG_MAX MAX_INT32 |
43,8 → 43,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/include/thread.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 |
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
35,8 → 35,8 |
/* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ |
#ifndef __LIBC__mips32THREAD_H__ |
#define __LIBC__mips32THREAD_H__ |
#ifndef LIBC_mips32THREAD_H_ |
#define LIBC_mips32THREAD_H_ |
/* I did not find any specification (neither MIPS nor PowerPC), but |
* as I found it |
75,6 → 75,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/mips32/src/thread.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcmips32 |
/** @addtogroup libcmips32 |
* @{ |
*/ |
/** @file |
56,6 → 56,5 |
free(tcb); |
} |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/include/psthread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 |
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ia32PSTHREAD_H__ |
#define __LIBC__ia32PSTHREAD_H__ |
#ifndef LIBC_ia32_PSTHREAD_H_ |
#define LIBC_ia32_PSTHREAD_H_ |
#include <types.h> |
60,8 → 60,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/include/atomic.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 |
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ATOMIC_H__ |
#define __ia32_ATOMIC_H__ |
#ifndef LIBC_ia32_ATOMIC_H_ |
#define LIBC_ia32_ATOMIC_H_ |
static inline void atomic_inc(atomic_t *val) { |
__asm__ volatile ("lock incl %0\n" : "=m" (val->count)); |
74,8 → 74,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/include/endian.h |
---|
26,16 → 26,16 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 |
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ENDIAN_H__ |
#define __ia32_ENDIAN_H__ |
#ifndef LIBC_ia32_ENDIAN_H_ |
#define LIBC_ia32_ENDIAN_H_ |
#ifndef __LIBC__ENDIAN_H__ |
#ifndef LIBC_ENDIAN_H_ |
# error "Never use <libarch/endian.h> directly - use <endian.h> instead." |
#endif |
43,10 → 43,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/include/stackarg.h |
---|
26,20 → 26,19 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 |
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
/* |
* Variable argument list manipulation macros |
* for architectures using stack to pass arguments. |
*/ |
#ifndef __LIBC_STACKARG_H__ |
#define __LIBC_STACKARG_H__ |
#ifndef LIBC_ia32_STACKARG_H_ |
#define LIBC_ia32_STACKARG_H_ |
#include <types.h> |
63,8 → 62,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/include/ddi.h |
---|
30,8 → 30,8 |
* @ingroup libcia32, libcamd64 |
*/ |
#ifndef __ia32_libc_DDI_H_ |
#define __ia32_libc_DDI_H_ |
#ifndef LIBC_ia32_DDI_H_ |
#define LIBC_ia32_DDI_H_ |
static inline void outb(int16_t port, uint8_t b) |
{ |
72,5 → 72,4 |
return val; |
} |
#endif |
/trunk/uspace/libc/arch/ia32/include/limits.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 |
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32__LIMITS_H__ |
#define __ia32__LIMITS_H__ |
#ifndef LIBC_ia32__LIMITS_H_ |
#define LIBC_ia32__LIMITS_H_ |
# define LONG_MIN MIN_INT32 |
# define LONG_MAX MAX_INT32 |
42,9 → 42,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/include/types.h |
---|
32,8 → 32,8 |
/** @file |
*/ |
#ifndef __LIBC__TYPES_H__ |
#define __LIBC__TYPES_H__ |
#ifndef LIBC_ia32_TYPES_H_ |
#define LIBC_ia32_TYPES_H_ |
typedef unsigned int sysarg_t; |
typedef unsigned int size_t; |
/trunk/uspace/libc/arch/ia32/include/thread.h |
---|
26,14 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 |
/** @addtogroup libcia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIBC__ia32THREAD_H__ |
#define __LIBC__ia32THREAD_H__ |
#ifndef LIBC_ia32_THREAD_H_ |
#define LIBC_ia32_THREAD_H_ |
#include <libc.h> |
57,8 → 57,5 |
#endif |
/** @} |
/** @} |
*/ |
/trunk/uspace/libc/arch/ia32/src/syscall.c |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libcia32 ia32 |
/** @addtogroup libcia32 ia32 |
* @brief ia32 architecture dependent parts of libc |
* @ingroup lc |
* @{ |
57,4 → 57,3 |
/** @} |
*/ |