Changeset fadd381 in mainline for uspace/libc/arch/ia32


Ignore:
Timestamp:
2006-09-04T20:22:14Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2def788
Parents:
fd85ae5
Message:

Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.

Location:
uspace/libc/arch/ia32
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • uspace/libc/arch/ia32/include/atomic.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32
     29/** @addtogroup libcia32
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ia32_ATOMIC_H__
    36 #define __ia32_ATOMIC_H__
     35#ifndef LIBC_ia32_ATOMIC_H_
     36#define LIBC_ia32_ATOMIC_H_
    3737
    3838static inline void atomic_inc(atomic_t *val) {
     
    7575#endif
    7676
    77 
    78  /** @}
     77/** @}
    7978 */
    80  
    81  
  • uspace/libc/arch/ia32/include/ddi.h

    rfd85ae5 rfadd381  
    3131 */
    3232
    33 #ifndef __ia32_libc_DDI_H_
    34 #define __ia32_libc_DDI_H_
     33#ifndef LIBC_ia32_DDI_H_
     34#define LIBC_ia32_DDI_H_
    3535
    3636static inline void outb(int16_t port, uint8_t b)
     
    7373}
    7474
    75 
    7675#endif
  • uspace/libc/arch/ia32/include/endian.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32
     29/** @addtogroup libcia32
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ia32_ENDIAN_H__
    36 #define __ia32_ENDIAN_H__
     35#ifndef LIBC_ia32_ENDIAN_H_
     36#define LIBC_ia32_ENDIAN_H_
    3737
    38 #ifndef __LIBC__ENDIAN_H__
     38#ifndef LIBC_ENDIAN_H_
    3939# error "Never use <libarch/endian.h> directly - use <endian.h> instead."
    4040#endif
     
    4444#endif
    4545
    46 
    47 
    48 
    49  /** @}
     46/** @}
    5047 */
    51  
    52  
  • uspace/libc/arch/ia32/include/limits.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32
     29/** @addtogroup libcia32
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ia32__LIMITS_H__
    36 #define __ia32__LIMITS_H__
     35#ifndef LIBC_ia32__LIMITS_H_
     36#define LIBC_ia32__LIMITS_H_
    3737
    3838# define LONG_MIN MIN_INT32
     
    4343#endif
    4444
    45 
    46 
    47  /** @}
     45/** @}
    4846 */
    49  
    50  
  • uspace/libc/arch/ia32/include/psthread.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32
     29/** @addtogroup libcia32
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __LIBC__ia32PSTHREAD_H__
    36 #define __LIBC__ia32PSTHREAD_H__
     35#ifndef LIBC_ia32_PSTHREAD_H_
     36#define LIBC_ia32_PSTHREAD_H_
    3737
    3838#include <types.h>
     
    6161#endif
    6262
    63 
    64  /** @}
     63/** @}
    6564 */
    66  
    67  
  • uspace/libc/arch/ia32/include/stackarg.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32
     29/** @addtogroup libcia32
    3030 * @{
    3131 */
    3232/** @file
    3333 */
    34 
    3534
    3635/*
     
    3938 */
    4039 
    41 #ifndef __LIBC_STACKARG_H__
    42 #define __LIBC_STACKARG_H__
     40#ifndef LIBC_ia32_STACKARG_H_
     41#define LIBC_ia32_STACKARG_H_
    4342
    4443#include <types.h>
     
    6463#endif
    6564
    66 
    67  /** @}
     65/** @}
    6866 */
    69  
    70  
  • uspace/libc/arch/ia32/include/thread.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32
     29/** @addtogroup libcia32
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __LIBC__ia32THREAD_H__
    36 #define __LIBC__ia32THREAD_H__
     35#ifndef LIBC_ia32_THREAD_H_
     36#define LIBC_ia32_THREAD_H_
    3737
    3838#include <libc.h>
     
    5858#endif
    5959
    60 
    61  /** @}
     60/** @}
    6261 */
    63  
    64  
  • uspace/libc/arch/ia32/include/types.h

    rfd85ae5 rfadd381  
    3333 */
    3434
    35 #ifndef __LIBC__TYPES_H__
    36 #define __LIBC__TYPES_H__
     35#ifndef LIBC_ia32_TYPES_H_
     36#define LIBC_ia32_TYPES_H_
    3737
    3838typedef unsigned int sysarg_t;
  • uspace/libc/arch/ia32/src/syscall.c

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcia32 ia32
     29/** @addtogroup libcia32 ia32
    3030 * @brief       ia32 architecture dependent parts of libc
    3131 * @ingroup lc
     
    5858/** @}
    5959 */
    60 
Note: See TracChangeset for help on using the changeset viewer.