Changeset fadd381 in mainline for uspace/libc
- Timestamp:
- 2006-09-04T20:22:14Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2def788
- Parents:
- fd85ae5
- Location:
- uspace/libc
- Files:
-
- 120 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/arch/amd64/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcamd64 amd64 30 30 * @ingroup lc 31 31 * @brief amd64 architecture dependent parts of libc … … 35 35 */ 36 36 37 #ifndef __amd64_ATOMIC_H__38 #define __amd64_ATOMIC_H__37 #ifndef LIBC_amd64_ATOMIC_H_ 38 #define LIBC_amd64_ATOMIC_H_ 39 39 40 40 static inline void atomic_inc(atomic_t *val) { … … 77 77 #endif 78 78 79 80 /** @} 79 /** @} 81 80 */ 82 83 -
uspace/libc/arch/amd64/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcamd64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __amd64_ENDIAN_H__36 #define __amd64_ENDIAN_H__35 #ifndef LIBC_amd64_ENDIAN_H_ 36 #define LIBC_amd64_ENDIAN_H_ 37 37 38 #ifndef __LIBC__ENDIAN_H__38 #ifndef LIBC_ENDIAN_H_ 39 39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 40 40 #endif … … 44 44 #endif 45 45 46 47 48 /** @} 46 /** @} 49 47 */ 50 48 -
uspace/libc/arch/amd64/include/limits.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef __amd64__LIMITS_H__36 #define __amd64__LIMITS_H__35 #ifndef LIBC_amd64_LIMITS_H_ 36 #define LIBC_amd64_LIMITS_H_ 37 37 38 38 # define LONG_MIN MIN_INT64 -
uspace/libc/arch/amd64/include/psthread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcamd64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__amd64PSTHREAD_H__36 #define __LIBC__amd64PSTHREAD_H__35 #ifndef LIBC_amd64_PSTHREAD_H_ 36 #define LIBC_amd64_PSTHREAD_H_ 37 37 38 38 #include <types.h> … … 64 64 #endif 65 65 66 67 /** @} 66 /** @} 68 67 */ 69 70 -
uspace/libc/arch/amd64/include/stackarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcamd64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STACKARG_H__36 #define __LIBC__STACKARG_H__35 #ifndef LIBC_STACKARG_H_ 36 #define LIBC_STACKARG_H_ 37 37 38 38 #endif 39 39 40 41 /** @} 40 /** @} 42 41 */ 43 44 -
uspace/libc/arch/amd64/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcamd64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__amd64THREAD_H__36 #define __LIBC__amd64THREAD_H__35 #ifndef LIBC_amd64_THREAD_H_ 36 #define LIBC_amd64_THREAD_H_ 37 37 38 38 #include <libc.h> … … 58 58 #endif 59 59 60 61 /** @} 60 /** @} 62 61 */ 63 64 -
uspace/libc/arch/amd64/include/types.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef __LIBC__TYPES_H__36 #define __LIBC__TYPES_H__35 #ifndef LIBC_amd64_TYPES_H_ 36 #define LIBC_amd64_TYPES_H_ 37 37 38 38 typedef unsigned long long sysarg_t; -
uspace/libc/arch/amd64/src/thread.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcamd64 amd64 30 30 * @ingroup lc 31 31 * @{ … … 61 61 } 62 62 63 64 /** @} 63 /** @} 65 64 */ 66 67 -
uspace/libc/arch/ia32/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia32_ATOMIC_H__36 #define __ia32_ATOMIC_H__35 #ifndef LIBC_ia32_ATOMIC_H_ 36 #define LIBC_ia32_ATOMIC_H_ 37 37 38 38 static inline void atomic_inc(atomic_t *val) { … … 75 75 #endif 76 76 77 78 /** @} 77 /** @} 79 78 */ 80 81 -
uspace/libc/arch/ia32/include/ddi.h
rfd85ae5 rfadd381 31 31 */ 32 32 33 #ifndef __ia32_libc_DDI_H_34 #define __ia32_libc_DDI_H_33 #ifndef LIBC_ia32_DDI_H_ 34 #define LIBC_ia32_DDI_H_ 35 35 36 36 static inline void outb(int16_t port, uint8_t b) … … 73 73 } 74 74 75 76 75 #endif -
uspace/libc/arch/ia32/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia32_ENDIAN_H__36 #define __ia32_ENDIAN_H__35 #ifndef LIBC_ia32_ENDIAN_H_ 36 #define LIBC_ia32_ENDIAN_H_ 37 37 38 #ifndef __LIBC__ENDIAN_H__38 #ifndef LIBC_ENDIAN_H_ 39 39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 40 40 #endif … … 44 44 #endif 45 45 46 47 48 49 /** @} 46 /** @} 50 47 */ 51 52 -
uspace/libc/arch/ia32/include/limits.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia32__LIMITS_H__36 #define __ia32__LIMITS_H__35 #ifndef LIBC_ia32__LIMITS_H_ 36 #define LIBC_ia32__LIMITS_H_ 37 37 38 38 # define LONG_MIN MIN_INT32 … … 43 43 #endif 44 44 45 46 47 /** @} 45 /** @} 48 46 */ 49 50 -
uspace/libc/arch/ia32/include/psthread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ia32PSTHREAD_H__36 #define __LIBC__ia32PSTHREAD_H__35 #ifndef LIBC_ia32_PSTHREAD_H_ 36 #define LIBC_ia32_PSTHREAD_H_ 37 37 38 38 #include <types.h> … … 61 61 #endif 62 62 63 64 /** @} 63 /** @} 65 64 */ 66 67 -
uspace/libc/arch/ia32/include/stackarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 30 30 * @{ 31 31 */ 32 32 /** @file 33 33 */ 34 35 34 36 35 /* … … 39 38 */ 40 39 41 #ifndef __LIBC_STACKARG_H__42 #define __LIBC_STACKARG_H__40 #ifndef LIBC_ia32_STACKARG_H_ 41 #define LIBC_ia32_STACKARG_H_ 43 42 44 43 #include <types.h> … … 64 63 #endif 65 64 66 67 /** @} 65 /** @} 68 66 */ 69 70 -
uspace/libc/arch/ia32/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ia32THREAD_H__36 #define __LIBC__ia32THREAD_H__35 #ifndef LIBC_ia32_THREAD_H_ 36 #define LIBC_ia32_THREAD_H_ 37 37 38 38 #include <libc.h> … … 58 58 #endif 59 59 60 61 /** @} 60 /** @} 62 61 */ 63 64 -
uspace/libc/arch/ia32/include/types.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef __LIBC__TYPES_H__36 #define __LIBC__TYPES_H__35 #ifndef LIBC_ia32_TYPES_H_ 36 #define LIBC_ia32_TYPES_H_ 37 37 38 38 typedef unsigned int sysarg_t; -
uspace/libc/arch/ia32/src/syscall.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia32 ia32 30 30 * @brief ia32 architecture dependent parts of libc 31 31 * @ingroup lc … … 58 58 /** @} 59 59 */ 60 -
uspace/libc/arch/ia64/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ATOMIC_H__36 #define __ia64_ATOMIC_H__35 #ifndef LIBC_ia64_ATOMIC_H_ 36 #define LIBC_ia64_ATOMIC_H_ 37 37 38 38 /** Atomic addition. … … 63 63 #endif 64 64 65 65 /** @} 66 66 */ 67 -
uspace/libc/arch/ia64/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ENDIAN_H__36 #define __ia64_ENDIAN_H__35 #ifndef LIBC_ia64_ENDIAN_H_ 36 #define LIBC_ia64_ENDIAN_H_ 37 37 38 #ifndef __LIBC__ENDIAN_H__38 #ifndef LIBC_ENDIAN_H_ 39 39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 40 40 #endif … … 44 44 #endif 45 45 46 47 48 /** @} 46 /** @} 49 47 */ 50 -
uspace/libc/arch/ia64/include/limits.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64__LIMITS_H__36 #define __ia64__LIMITS_H__35 #ifndef LIBC_ia64_LIMITS_H_ 36 #define LIBC_ia64_LIMITS_H_ 37 37 38 38 # define LONG_MIN MIN_INT64 … … 43 43 #endif 44 44 45 46 47 48 /** @} 45 /** @} 49 46 */ 50 -
uspace/libc/arch/ia64/include/psthread.h
rfd85ae5 rfadd381 136 136 #endif 137 137 138 138 /** @} 139 139 */ 140 -
uspace/libc/arch/ia64/include/stack.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_STACK_H__36 #define __ia64_STACK_H__35 #ifndef LIBC_ia64_STACK_H_ 36 #define LIBC_ia64_STACK_H_ 37 37 38 38 #define STACK_ITEM_SIZE 8 … … 43 43 #endif 44 44 45 45 /** @} 46 46 */ 47 -
uspace/libc/arch/ia64/include/stackarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STACKARG_H__36 #define __LIBC__STACKARG_H__35 #ifndef LIBC_STACKARG_H_ 36 #define LIBC_STACKARG_H_ 37 37 38 38 #endif -
uspace/libc/arch/ia64/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ia64THREAD_H__36 #define __LIBC__ia64THREAD_H__35 #ifndef LIBC_ia64THREAD_H_ 36 #define LIBC_ia64THREAD_H_ 37 37 38 38 #define THREAD_INITIAL_STACK_PAGES_NO 2 … … 60 60 #endif 61 61 62 62 /** @} 63 63 */ 64 -
uspace/libc/arch/ia64/src/thread.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcia64 ia64 30 30 * @brief ia64 architecture dependent parts of libc 31 31 * @ingroup lc … … 62 62 } 63 63 64 64 /** @} 65 65 */ 66 -
uspace/libc/arch/mips32/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 30 30 * @{ 31 31 */ … … 34 34 */ 35 35 36 #ifndef __mips32_ATOMIC_H__37 #define __mips32_ATOMIC_H__36 #ifndef LIBC_mips32_ATOMIC_H_ 37 #define LIBC_mips32_ATOMIC_H_ 38 38 39 39 #define atomic_inc(x) ((void) atomic_add(x, 1)) … … 74 74 #endif 75 75 76 76 /** @} 77 77 */ 78 -
uspace/libc/arch/mips32/include/context_offset.h
rfd85ae5 rfadd381 27 27 #define OFFSET_F30 0x5c 28 28 29 /** @}30 */31 -
uspace/libc/arch/mips32/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 mips32 30 30 * @brief mips32 architecture dependent parts of libc 31 31 * @ingroup lc … … 35 35 */ 36 36 37 #ifndef __mips32_ENDIAN_H__38 #define __mips32_ENDIAN_H__37 #ifndef LIBC_mips32_ENDIAN_H_ 38 #define LIBC_mips32_ENDIAN_H_ 39 39 40 #ifndef __LIBC__ENDIAN_H__40 #ifndef LIBC_ENDIAN_H_ 41 41 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 42 42 #endif … … 46 46 #endif 47 47 48 49 /** @} 48 /** @} 50 49 */ 51 -
uspace/libc/arch/mips32/include/limits.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 30 30 * @{ 31 31 */ … … 34 34 */ 35 35 36 #ifndef __mips32__LIMITS_H__37 #define __mips32__LIMITS_H__36 #ifndef LIBC_mips32__LIMITS_H_ 37 #define LIBC_mips32__LIMITS_H_ 38 38 39 39 # define LONG_MIN MIN_INT32 … … 44 44 #endif 45 45 46 47 48 /** @} 46 /** @} 49 47 */ 50 -
uspace/libc/arch/mips32/include/psthread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 30 30 * @{ 31 31 */ … … 34 34 */ 35 35 36 #ifndef __LIBC__mips32PSTHREAD_H__37 #define __LIBC__mips32PSTHREAD_H__36 #ifndef LIBC_mips32_PSTHREAD_H_ 37 #define LIBC_mips32_PSTHREAD_H_ 38 38 39 39 #include <types.h> … … 87 87 #endif 88 88 89 89 /** @} 90 90 */ 91 -
uspace/libc/arch/mips32/include/stackarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 30 30 * @{ 31 31 */ … … 34 34 */ 35 35 36 #ifndef __LIBC_mips32_STACKARG_H__37 #define __LIBC_mips32_STACKARG_H__36 #ifndef LIBC_mips32_STACKARG_H_ 37 #define LIBC_mips32_STACKARG_H_ 38 38 39 39 /* dont allow to define it second time in stdarg.h */ … … 59 59 #endif 60 60 61 61 /** @} 62 62 */ 63 -
uspace/libc/arch/mips32/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 30 30 * @{ 31 31 */ … … 36 36 /* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ 37 37 38 #ifndef __LIBC__mips32THREAD_H__39 #define __LIBC__mips32THREAD_H__38 #ifndef LIBC_mips32THREAD_H_ 39 #define LIBC_mips32THREAD_H_ 40 40 41 41 /* I did not find any specification (neither MIPS nor PowerPC), but … … 76 76 #endif 77 77 78 78 /** @} 79 79 */ 80 -
uspace/libc/arch/mips32/src/thread.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcmips32 30 30 * @{ 31 31 */ … … 57 57 } 58 58 59 59 /** @} 60 60 */ 61 -
uspace/libc/arch/mips32eb/include/endian.h
rfd85ae5 rfadd381 36 36 37 37 38 #ifndef __mips32eb_ENDIAN_H__39 #define __mips32eb_ENDIAN_H__38 #ifndef LIBC_mips32eb_ENDIAN_H_ 39 #define LIBC_mips32eb_ENDIAN_H_ 40 40 41 #ifndef __LIBC__ENDIAN_H__41 #ifndef LIBC_ENDIAN_H_ 42 42 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 43 43 #endif … … 47 47 #endif 48 48 49 49 /** @} 50 50 */ 51 -
uspace/libc/arch/ppc32/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc32_ATOMIC_H__36 #define __ppc32_ATOMIC_H__35 #ifndef LIBC_ppc32_ATOMIC_H_ 36 #define LIBC_ppc32_ATOMIC_H_ 37 37 38 38 static inline void atomic_inc(atomic_t *val) … … 92 92 #endif 93 93 94 94 /** @} 95 95 */ 96 -
uspace/libc/arch/ppc32/include/context_offset.h
rfd85ae5 rfadd381 24 24 #define OFFSET_CR 0x58 25 25 #define OFFSET_CR 0x58 26 27 /** @}28 */29 -
uspace/libc/arch/ppc32/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc32_ENDIAN_H__36 #define __ppc32_ENDIAN_H__35 #ifndef LIBC_ppc32_ENDIAN_H_ 36 #define LIBC_ppc32_ENDIAN_H_ 37 37 38 #ifndef __LIBC__ENDIAN_H__38 #ifndef LIBC_ENDIAN_H_ 39 39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 40 40 #endif … … 44 44 #endif 45 45 46 46 /** @} 47 47 */ 48 -
uspace/libc/arch/ppc32/include/limits.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc32__LIMITS_H__36 #define __ppc32__LIMITS_H__35 #ifndef LIBC_ppc32_LIMITS_H_ 36 #define LIBC_ppc32_LIMITS_H_ 37 37 38 38 #define LONG_MIN MIN_INT32 … … 43 43 #endif 44 44 45 45 /** @} 46 46 */ 47 -
uspace/libc/arch/ppc32/include/psthread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ppc32__PSTHREAD_H__36 #define __LIBC__ppc32__PSTHREAD_H__35 #ifndef LIBC_ppc32_PSTHREAD_H_ 36 #define LIBC_ppc32_PSTHREAD_H_ 37 37 38 38 #include <types.h> … … 80 80 #endif 81 81 82 82 /** @} 83 83 */ 84 -
uspace/libc/arch/ppc32/include/regname.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc32_REGNAME_H__36 #define __ppc32_REGNAME_H__35 #ifndef LIBC_ppc32_REGNAME_H_ 36 #define LIBC_ppc32_REGNAME_H_ 37 37 38 38 /* Condition Register Bit Fields */ … … 185 185 #endif 186 186 187 187 /** @} 188 188 */ 189 -
uspace/libc/arch/ppc32/include/stackarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STACKARG_H__36 #define __LIBC__STACKARG_H__35 #ifndef LIBC_STACKARG_H_ 36 #define LIBC_STACKARG_H_ 37 37 38 38 #endif 39 39 40 41 /** @} 40 /** @} 42 41 */ 43 -
uspace/libc/arch/ppc32/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ppc32__THREAD_H__36 #define __LIBC__ppc32__THREAD_H__35 #ifndef LIBC_ppc32_THREAD_H_ 36 #define LIBC_ppc32_THREAD_H_ 37 37 38 38 #define PPC_TP_OFFSET 0x7000 … … 68 68 #endif 69 69 70 70 /** @} 71 71 */ 72 -
uspace/libc/arch/ppc32/src/syscall.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 ppc32 30 30 * @brief ppc32 architecture dependent parts of libc 31 31 * @ingroup lc … … 58 58 } 59 59 60 60 /** @} 61 61 */ 62 -
uspace/libc/arch/ppc32/src/thread.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc32 30 30 * @{ 31 31 */ … … 56 56 } 57 57 58 58 /** @} 59 59 */ 60 -
uspace/libc/arch/ppc64/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ATOMIC_H__36 #define __ppc64_ATOMIC_H__35 #ifndef LIBC_ppc64_ATOMIC_H_ 36 #define LIBC_ppc64_ATOMIC_H_ 37 37 38 38 static inline void atomic_inc(atomic_t *val) … … 92 92 #endif 93 93 94 94 /** @} 95 95 */ 96 -
uspace/libc/arch/ppc64/include/context_offset.h
rfd85ae5 rfadd381 23 23 #define OFFSET_R31 0x54 24 24 #define OFFSET_CR 0x58 25 26 /** @}27 */28 -
uspace/libc/arch/ppc64/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ENDIAN_H__36 #define __ppc64_ENDIAN_H__35 #ifndef LIBC_ppc64_ENDIAN_H_ 36 #define LIBC_ppc64_ENDIAN_H_ 37 37 38 #ifndef __LIBC__ENDIAN_H__38 #ifndef LIBC_ENDIAN_H_ 39 39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 40 40 #endif … … 44 44 #endif 45 45 46 46 /** @} 47 47 */ 48 -
uspace/libc/arch/ppc64/include/limits.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64__LIMITS_H__36 #define __ppc64__LIMITS_H__35 #ifndef LIBC_ppc64_LIMITS_H_ 36 #define LIBC_ppc64_LIMITS_H_ 37 37 38 38 #define LONG_MIN MIN_INT64 … … 43 43 #endif 44 44 45 45 /** @} 46 46 */ 47 -
uspace/libc/arch/ppc64/include/psthread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ppc64__PSTHREAD_H__36 #define __LIBC__ppc64__PSTHREAD_H__35 #ifndef LIBC_ppc64_PSTHREAD_H_ 36 #define LIBC_ppc64_PSTHREAD_H_ 37 37 38 38 #include <types.h> … … 80 80 #endif 81 81 82 82 /** @} 83 83 */ 84 -
uspace/libc/arch/ppc64/include/regname.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_REGNAME_H__36 #define __ppc64_REGNAME_H__35 #ifndef LIBC_ppc64_REGNAME_H_ 36 #define LIBC_ppc64_REGNAME_H_ 37 37 38 38 /* Condition Register Bit Fields */ … … 185 185 #endif 186 186 187 187 /** @} 188 188 */ 189 -
uspace/libc/arch/ppc64/include/stackarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STACKARG_H__36 #define __LIBC__STACKARG_H__35 #ifndef LIBC_STACKARG_H_ 36 #define LIBC_STACKARG_H_ 37 37 38 38 #endif 39 39 40 41 /** @} 40 /** @} 42 41 */ 43 -
uspace/libc/arch/ppc64/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ppc64__THREAD_H__36 #define __LIBC__ppc64__THREAD_H__35 #ifndef LIBC_ppc64_THREAD_H_ 36 #define LIBC_ppc64_THREAD_H_ 37 37 38 38 #define PPC_TP_OFFSET 0x7000 … … 68 68 #endif 69 69 70 70 /** @} 71 71 */ 72 -
uspace/libc/arch/ppc64/src/syscall.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 30 31 29 /** @addtogroup libcppc64 ppc64 30 * @brief ppc64 architecture dependent parts of libc 31 * @ingroup lc 32 32 * @{ 33 33 */ … … 58 58 } 59 59 60 60 /** @} 61 61 */ 62 -
uspace/libc/arch/ppc64/src/thread.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcppc64 30 30 * @{ 31 31 */ … … 57 57 } 58 58 59 59 /** @} 60 60 */ 61 -
uspace/libc/arch/sparc64/include/context_offset.h
rfd85ae5 rfadd381 20 20 #define OFFSET_L7 0x88 21 21 #define OFFSET_TP 0x90 22 -
uspace/libc/arch/sparc64/include/endian.h
rfd85ae5 rfadd381 36 36 #define LIBC_sparc64_ENDIAN_H_ 37 37 38 #ifndef __LIBC__ENDIAN_H__38 #ifndef LIBC_ENDIAN_H_ 39 39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead." 40 40 #endif -
uspace/libc/arch/sparc64/include/limits.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef LIBC_sparc64_ _LIMITS_H_36 #define LIBC_sparc64_ _LIMITS_H_35 #ifndef LIBC_sparc64_LIMITS_H_ 36 #define LIBC_sparc64_LIMITS_H_ 37 37 38 38 #define LONG_MIN MIN_INT64 -
uspace/libc/generic/async.c
rfd85ae5 rfadd381 808 808 } 809 809 810 811 810 /** @} 812 811 */ -
uspace/libc/generic/cap.c
rfd85ae5 rfadd381 72 72 } 73 73 74 75 74 /** @} 76 75 */ -
uspace/libc/generic/ddi.c
rfd85ae5 rfadd381 88 88 } 89 89 90 91 90 /** @} 92 91 */ -
uspace/libc/generic/err.c
rfd85ae5 rfadd381 43 43 */ 44 44 45 46 45 /** @} 47 46 */ -
uspace/libc/generic/futex.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 174 174 } 175 175 176 177 /** @} 176 /** @} 178 177 */ 179 180 -
uspace/libc/generic/io/io.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 110 110 } 111 111 112 113 114 115 /** @} 112 /** @} 116 113 */ 117 118 -
uspace/libc/generic/io/printf.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 55 55 } 56 56 57 58 59 60 61 /** @} 57 /** @} 62 58 */ 63 59 -
uspace/libc/generic/io/printf_core.c
rfd85ae5 rfadd381 28 28 */ 29 29 30 30 /** @addtogroup libc 31 31 * @{ 32 32 */ … … 689 689 } 690 690 691 692 693 /** @} 694 */ 695 696 691 /** @} 692 */ -
uspace/libc/generic/io/snprintf.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 56 56 } 57 57 58 59 /** @} 58 /** @} 60 59 */ 61 62 -
uspace/libc/generic/io/sprintf.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 55 55 } 56 56 57 58 /** @} 57 /** @} 59 58 */ 60 61 -
uspace/libc/generic/io/stream.c
rfd85ae5 rfadd381 33 33 /** @file 34 34 */ 35 36 35 37 36 #include <io/io.h> … … 89 88 } 90 89 91 92 90 static stream_t open_stdin(void) 93 91 { … … 130 128 return count; 131 129 } 132 133 130 134 131 fd_t open(const char *fname, int flags) … … 191 188 } 192 189 193 194 190 /** @} 195 191 */ -
uspace/libc/generic/io/vprintf.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 57 57 } 58 58 59 60 61 62 /** @} 59 /** @} 63 60 */ 64 65 -
uspace/libc/generic/io/vsnprintf.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 37 37 #include <string.h> 38 38 #include <io/printf_core.h> 39 40 39 41 40 struct vsnprintf_data { … … 109 108 } 110 109 111 112 113 114 /** @} 110 /** @} 115 111 */ 116 117 -
uspace/libc/generic/io/vsprintf.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 48 48 } 49 49 50 51 52 /** @} 50 /** @} 53 51 */ 54 55 -
uspace/libc/generic/ipc.c
rfd85ae5 rfadd381 32 32 */ 33 33 34 34 /** @addtogroup libcipc IPC 35 35 * @brief HelenOS uspace IPC 36 36 * @{ … … 465 465 } 466 466 467 468 469 /** @} 470 */ 471 472 467 /** @} 468 */ -
uspace/libc/generic/libadt/hash_table.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 176 176 } 177 177 178 179 /** @} 178 /** @} 180 179 */ 181 182 -
uspace/libc/generic/libadt/list.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 86 86 } 87 87 88 89 /** @} 88 /** @} 90 89 */ 91 92 -
uspace/libc/generic/mmap.c
rfd85ae5 rfadd381 33 33 */ 34 34 35 #include <sys/mma n.h>35 #include <sys/mmap.h> 36 36 #include <as.h> 37 37 #include <unistd.h> … … 55 55 } 56 56 57 58 57 /** @} 59 58 */ -
uspace/libc/generic/psthread.c
rfd85ae5 rfadd381 306 306 } 307 307 308 309 308 /** @} 310 309 */ -
uspace/libc/generic/stdlib.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 47 47 } 48 48 49 50 /** @} 49 /** @} 51 50 */ 52 53 -
uspace/libc/generic/string.c
rfd85ae5 rfadd381 315 315 } 316 316 317 318 317 /** @} 319 318 */ -
uspace/libc/generic/sysinfo.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 42 42 } 43 43 44 45 46 /** @} 44 /** @} 47 45 */ 48 46 -
uspace/libc/generic/task.c
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 45 45 } 46 46 47 48 /** @} 47 /** @} 49 48 */ 50 51 -
uspace/libc/generic/thread.c
rfd85ae5 rfadd381 155 155 /** @} 156 156 */ 157 158 -
uspace/libc/generic/time.c
rfd85ae5 rfadd381 115 115 } 116 116 117 118 117 /** @} 119 118 */ -
uspace/libc/include/align.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ALIGN_H__36 #define __ALIGN_H__35 #ifndef LIBC_ALIGN_H_ 36 #define LIBC_ALIGN_H_ 37 37 38 38 /** Align to the nearest lower address. … … 53 53 #endif 54 54 55 56 /** @} 55 /** @} 57 56 */ 58 59 -
uspace/libc/include/as.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __libc_AS_H__36 #define __libc_AS_H__35 #ifndef LIBC_AS_H_ 36 #define LIBC_AS_H_ 37 37 38 38 #include <types.h> … … 51 51 #endif 52 52 53 54 /** @} 53 /** @} 55 54 */ 56 57 -
uspace/libc/include/assert.h
rfd85ae5 rfadd381 28 28 */ 29 29 30 30 /** @addtogroup libc 31 31 * @{ 32 32 */ … … 34 34 */ 35 35 36 #ifndef __LIBC__ASSERT_H__37 #define __LIBC__ASSERT_H__36 #ifndef LIBC_ASSERT_H_ 37 #define LIBC_ASSERT_H_ 38 38 39 39 /** Debugging assert macro … … 56 56 #endif 57 57 58 59 /** @} 58 /** @} 60 59 */ 61 62 -
uspace/libc/include/async.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef _libc_ASYNC_H_36 #define _libc_ASYNC_H_35 #ifndef LIBC_ASYNC_H_ 36 #define LIBC_ASYNC_H_ 37 37 38 38 #include <ipc/ipc.h> … … 131 131 #endif 132 132 133 134 /** @} 133 /** @} 135 134 */ 136 137 -
uspace/libc/include/atomic.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ATOMIC_H__36 #define __ATOMIC_H__35 #ifndef LIBC_ATOMIC_H_ 36 #define LIBC_ATOMIC_H_ 37 37 38 38 typedef struct atomic { … … 54 54 #endif 55 55 56 57 /** @} 56 /** @} 58 57 */ 59 60 -
uspace/libc/include/cap.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __CAP_H__36 #define __CAP_H__35 #ifndef LIB_CAP_H_ 36 #define LIB_CAP_H_ 37 37 38 38 #include <task.h> … … 43 43 #endif 44 44 45 46 /** @} 45 /** @} 47 46 */ 48 49 -
uspace/libc/include/ctype.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __CTYPE_H__36 #define __CTYPE_H__35 #ifndef LIBC_CTYPE_H_ 36 #define LIBC_CTYPE_H_ 37 37 38 38 static inline int isdigit(int c) … … 59 59 #endif 60 60 61 62 63 /** @} 61 /** @} 64 62 */ 65 66 -
uspace/libc/include/ddi.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC_DDI_H__36 #define __LIBC_DDI_H__35 #ifndef LIBC_DDI_H_ 36 #define LIBC_DDI_H_ 37 37 38 38 #include <task.h> … … 44 44 #endif 45 45 46 47 /** @} 46 /** @} 48 47 */ 49 50 -
uspace/libc/include/endian.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ENDIAN_H__36 #define __LIBC__ENDIAN_H__35 #ifndef LIBC_ENDIAN_H_ 36 #define LIBC_ENDIAN_H_ 37 37 38 38 #define __LITTLE_ENDIAN 1234 … … 44 44 #endif 45 45 46 47 48 /** @} 46 /** @} 49 47 */ 50 51 -
uspace/libc/include/err.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef _libc__ERR_H_36 #define _libc__ERR_H_35 #ifndef LIBC_ERR_H_ 36 #define LIBC_ERR_H_ 37 37 38 38 #define errx(status, fmt, ...) { \ … … 43 43 #endif 44 44 45 46 45 /** @} 47 46 */ -
uspace/libc/include/errno.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__ERRNO_H__36 #define __LIBC__ERRNO_H__35 #ifndef LIBC_ERRNO_H_ 36 #define LIBC_ERRNO_H_ 37 37 38 38 #include <kernel/errno.h> 39 39 40 41 42 40 #endif 43 41 44 45 /** @} 42 /** @} 46 43 */ 47 48 -
uspace/libc/include/futex.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__FUTEX_H__36 #define __LIBC__FUTEX_H__35 #ifndef LIBC_FUTEX_H_ 36 #define LIBC_FUTEX_H_ 37 37 38 38 #include <atomic.h> … … 49 49 #endif 50 50 51 52 /** @} 51 /** @} 53 52 */ 54 55 -
uspace/libc/include/io/io.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__IO_H__36 #define __LIBC__IO_H__35 #ifndef LIBC_IO_H_ 36 #define LIBC_IO_H_ 37 37 38 38 #include <libarch/types.h> … … 45 45 #endif 46 46 47 48 /** @} 47 /** @} 49 48 */ 50 49 -
uspace/libc/include/io/printf_core.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__PRINTF_CORE_H__36 #define __LIBC__PRINTF_CORE_H__35 #ifndef LIBC_PRINTF_CORE_H_ 36 #define LIBC_PRINTF_CORE_H_ 37 37 38 38 #include <libarch/types.h> … … 52 52 #endif 53 53 54 55 /** @} 54 /** @} 56 55 */ 57 56 -
uspace/libc/include/io/stream.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __libc_STREAM_H_36 #define __libc_STREAM_H_35 #ifndef LIBC_STREAM_H_ 36 #define LIBC_STREAM_H_ 37 37 38 38 #include <libarch/types.h> … … 41 41 42 42 typedef int fd_t; 43 44 43 45 44 typedef ssize_t (*pwritefn_t)(void *, const void *, size_t); … … 51 50 #endif 52 51 53 54 /** @} 52 /** @} 55 53 */ 56 57 -
uspace/libc/include/ipc/ipc.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcipc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBIPC_IPC_H__36 #define __LIBIPC_IPC_H__35 #ifndef LIBIPC_IPC_H_ 36 #define LIBIPC_IPC_H_ 37 37 38 38 #include <kernel/ipc/ipc.h> … … 90 90 #endif 91 91 92 93 /** @} 92 /** @} 94 93 */ 95 96 -
uspace/libc/include/ipc/ns.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcipc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBIPC__NS_H__36 #define __LIBIPC__NS_H__35 #ifndef LIBIPC_NS_H_ 36 #define LIBIPC_NS_H_ 37 37 38 38 #endif 39 39 40 41 /** @} 40 /** @} 42 41 */ 43 44 -
uspace/libc/include/ipc/services.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libcipc 30 30 * @{ 31 31 */ … … 35 35 */ 36 36 37 #ifndef __LIBIPC__SERVICES_H__38 #define __LIBIPC__SERVICES_H__37 #ifndef LIBIPC_SERVICES_H_ 38 #define LIBIPC_SERVICES_H_ 39 39 40 40 #define SERVICE_PCI 1 … … 49 49 #endif 50 50 51 52 /** @} 51 /** @} 53 52 */ 54 55 -
uspace/libc/include/libadt/fifo.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 43 43 */ 44 44 45 #ifndef __FIFO_H__46 #define __FIFO_H__45 #ifndef LIBC_FIFO_H_ 46 #define LIBC_FIFO_H_ 47 47 48 48 #include <malloc.h> … … 124 124 #endif 125 125 126 127 /** @} 126 /** @} 128 127 */ 129 130 -
uspace/libc/include/libadt/hash_table.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __HASH_TABLE_H__36 #define __HASH_TABLE_H__35 #ifndef LIBC_HASH_TABLE_H_ 36 #define LIBC_HASH_TABLE_H_ 37 37 38 38 #include <libadt/list.h> … … 86 86 #endif 87 87 88 89 /** @} 88 /** @} 90 89 */ 91 92 -
uspace/libc/include/libadt/list.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIST_H__36 #define __LIST_H__35 #ifndef LIBC_LIST_H_ 36 #define LIBC_LIST_H_ 37 37 38 #include <unistd.h>38 #include <unistd.h> 39 39 40 40 #ifndef true … … 191 191 #endif 192 192 193 194 /** @} 193 /** @} 195 194 */ 196 197 -
uspace/libc/include/libc.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef __LIBC__LIBC_H__36 #define __LIBC__LIBC_H__35 #ifndef LIBC_LIBC_H_ 36 #define LIBC_LIBC_H_ 37 37 38 38 #include <types.h> -
uspace/libc/include/limits.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__LIMITS_H__36 #define __LIBC__LIMITS_H__35 #ifndef LIBC_LIMITS_H_ 36 #define LIBC_LIMITS_H_ 37 37 38 38 #include <stdint.h> … … 71 71 #endif 72 72 73 74 75 /** @} 73 /** @} 76 74 */ 77 78 -
uspace/libc/include/psthread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__PSTHREAD_H__36 #define __LIBC__PSTHREAD_H__35 #ifndef LIBC_PSTHREAD_H_ 36 #define LIBC_PSTHREAD_H_ 37 37 38 38 #include <libarch/psthread.h> … … 95 95 #endif 96 96 97 98 /** @} 97 /** @} 99 98 */ 100 101 -
uspace/libc/include/stdarg.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STDARG_H__36 #define __LIBC__STDARG_H__35 #ifndef LIBC_STDARG_H_ 36 #define LIBC_STDARG_H_ 37 37 38 38 #include <types.h> … … 52 52 #endif 53 53 54 55 56 /** @} 54 /** @} 57 55 */ 58 59 -
uspace/libc/include/stddef.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STDDEF_H__36 #define __LIBC__STDDEF_H__35 #ifndef LIBC_STDDEF_H_ 36 #define LIBC_STDDEF_H_ 37 37 38 38 #include <types.h> … … 40 40 #endif 41 41 42 43 44 /** @} 42 /** @} 45 43 */ 46 47 -
uspace/libc/include/stdint.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STDINT_H__36 #define __LIBC__STDINT_H__35 #ifndef LIBC_STDINT_H_ 36 #define LIBC_STDINT_H_ 37 37 38 38 /* Definitions of types with fixed size*/ … … 61 61 #endif 62 62 63 64 65 /** @} 63 /** @} 66 64 */ 67 68 -
uspace/libc/include/stdio.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STDIO_H__36 #define __LIBC__STDIO_H__35 #ifndef LIBC_STDIO_H_ 36 #define LIBC_STDIO_H_ 37 37 38 38 #include <types.h> … … 60 60 #endif 61 61 62 63 /** @} 62 /** @} 64 63 */ 65 66 -
uspace/libc/include/stdlib.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__STDLIB_H__36 #define __LIBC__STDLIB_H__35 #ifndef LIBC_STDLIB_H_ 36 #define LIBC_STDLIB_H_ 37 37 38 38 #include <unistd.h> … … 56 56 } 57 57 58 59 58 #endif 60 59 61 62 /** @} 60 /** @} 63 61 */ 64 65 -
uspace/libc/include/string.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 36 #ifndef __LIBC__STRING_H__ 37 #define __LIBC__STRING_H__ 35 #ifndef LIBC_STRING_H_ 36 #define LIBC_STRING_H_ 38 37 39 38 #include <types.h> … … 60 59 #endif 61 60 62 63 /** @} 61 /** @} 64 62 */ 65 66 -
uspace/libc/include/sys/mmap.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __libc_MMAN_H_36 #define __libc_MMAN_H_35 #ifndef LIBC_MMAP_H_ 36 #define LIBC_MMAP_H_ 37 37 38 38 #include <as.h> … … 55 55 #endif 56 56 57 58 /** @} 57 /** @} 59 58 */ 60 61 -
uspace/libc/include/sys/time.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __libc_sys_TIME_H__36 #define __libc_sys_TIME_H__35 #ifndef LIBC_TIME_H_ 36 #define LIBC_TIME_H_ 37 37 38 38 #include <types.h> … … 57 57 #endif 58 58 59 60 /** @} 59 /** @} 61 60 */ 62 63 -
uspace/libc/include/sys/types.h
rfd85ae5 rfadd381 42 42 /** @} 43 43 */ 44 45 -
uspace/libc/include/sysinfo.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC_SYSINFO_H__ 36 #define __LIBC_SYSINFO_H__ 37 35 #ifndef LIBC_SYSINFO_H_ 36 #define LIBC_SYSINFO_H_ 38 37 39 38 #include <libc.h> … … 45 44 #endif 46 45 47 48 49 /** @} 46 /** @} 50 47 */ 51 52 -
uspace/libc/include/task.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__TASK_H__36 #define __LIBC__TASK_H__35 #ifndef LIBC_TASK_H_ 36 #define LIBC_TASK_H_ 37 37 38 38 #include <types.h> … … 44 44 #endif 45 45 46 47 /** @} 46 /** @} 48 47 */ 49 50 -
uspace/libc/include/thread.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__THREAD_H__36 #define __LIBC__THREAD_H__35 #ifndef LIBC_THREAD_H_ 36 #define LIBC_THREAD_H_ 37 37 38 38 #include <kernel/proc/uarg.h> … … 52 52 #endif 53 53 54 55 /** @} 54 /** @} 56 55 */ 57 58 -
uspace/libc/include/time.h
rfd85ae5 rfadd381 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __libc_TIME_H__36 #define __libc_TIME_H__35 #ifndef LIBC_TIME_H_ 36 #define LIBC_TIME_H_ 37 37 38 38 #endif 39 39 40 41 /** @} 40 /** @} 42 41 */ 43 44 -
uspace/libc/include/unistd.h
rfd85ae5 rfadd381 33 33 */ 34 34 35 #ifndef __LIBC__UNISTD_H__36 #define __LIBC__UNISTD_H__35 #ifndef LIBC_UNISTD_H_ 36 #define LIBC_UNISTD_H_ 37 37 38 38 #include <types.h> … … 52 52 /** @} 53 53 */ 54 55 -
uspace/libc/malloc/malloc.c
rfd85ae5 rfadd381 566 566 #if HAVE_MMAP 567 567 #ifndef LACKS_SYS_MMAN_H 568 #include <sys/mma n.h> /* for mmap */568 #include <sys/mmap.h> /* for mmap */ 569 569 #endif /* LACKS_SYS_MMAN_H */ 570 570 #ifndef LACKS_FCNTL_H
Note:
See TracChangeset
for help on using the changeset viewer.