Changeset 4196304 in mainline for uspace/lib/c/arch


Ignore:
Timestamp:
2010-04-09T13:12:49Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddfcfeb2
Parents:
a1caa3c2
Message:

use integer types detected by autotool also in uspace

Location:
uspace/lib/c/arch
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/abs32le/include/types.h

    ra1caa3c2 r4196304  
    3838#define __32_BITS__
    3939
    40 typedef unsigned int sysarg_t;
     40#include <libarch/common.h>
    4141
    42 typedef char int8_t;
    43 typedef short int int16_t;
    44 typedef int int32_t;
    45 typedef long long int int64_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short int uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long long int uint64_t;
     42typedef uint32_t sysarg_t;
    5143
    5244typedef int32_t ssize_t;
  • uspace/lib/c/arch/amd64/include/types.h

    ra1caa3c2 r4196304  
    3838#define __64_BITS__
    3939
    40 typedef unsigned long long sysarg_t;
     40#include <libarch/common.h>
    4141
    42 typedef signed char int8_t;
    43 typedef short int int16_t;
    44 typedef int int32_t;
    45 typedef long long int int64_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short int uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long long int uint64_t;
     42typedef uint64_t sysarg_t;
    5143
    5244typedef int64_t ssize_t;
  • uspace/lib/c/arch/arm32/include/types.h

    ra1caa3c2 r4196304  
    2727 */
    2828
    29 /** @addtogroup libcarm32       
     29/** @addtogroup libcarm32
    3030 * @{
    3131 */
    32 /** @file 
     32/** @file
    3333 *  @brief Definitions of basic types like #uintptr_t.
    3434 */
     
    3939#define __32_BITS__
    4040
    41 typedef unsigned int sysarg_t;
     41#include <libarch/common.h>
    4242
    43 typedef char int8_t;
    44 typedef short int int16_t;
    45 typedef long int int32_t;
    46 typedef long long int int64_t;
    47 
    48 typedef unsigned char uint8_t;
    49 typedef unsigned short int uint16_t;
    50 typedef unsigned long int uint32_t;
    51 typedef unsigned long long int uint64_t;
     43typedef uint32_t sysarg_t;
    5244
    5345typedef int32_t ssize_t;
  • uspace/lib/c/arch/ia32/include/types.h

    ra1caa3c2 r4196304  
    3838#define __32_BITS__
    3939
    40 typedef unsigned int sysarg_t;
     40#include <libarch/common.h>
    4141
    42 typedef char int8_t;
    43 typedef short int int16_t;
    44 typedef int int32_t;
    45 typedef long long int int64_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short int uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long long int uint64_t;
     42typedef uint32_t sysarg_t;
    5143
    5244typedef int32_t ssize_t;
  • uspace/lib/c/arch/ia64/include/types.h

    ra1caa3c2 r4196304  
    3838#define __64_BITS__
    3939
    40 typedef unsigned long sysarg_t;
     40#include <libarch/common.h>
    4141
    42 typedef char int8_t;
    43 typedef short int int16_t;
    44 typedef int int32_t;
    45 typedef long int int64_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short int uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long int uint64_t;
    51 
    52 typedef struct {
    53         uint64_t lo;
    54         uint64_t hi;
    55 } uint128_t;
     42typedef uint64_t sysarg_t;
    5643
    5744typedef int64_t ssize_t;
  • uspace/lib/c/arch/mips32/include/types.h

    ra1caa3c2 r4196304  
    3939#define __32_BITS__
    4040
    41 typedef unsigned int sysarg_t;
     41#include <libarch/common.h>
    4242
    43 typedef char int8_t;
    44 typedef short int int16_t;
    45 typedef long int int32_t;
    46 typedef long long int int64_t;
    47 
    48 typedef unsigned char uint8_t;
    49 typedef unsigned short int uint16_t;
    50 typedef unsigned long int uint32_t;
    51 typedef unsigned long long int uint64_t;
     43typedef uint32_t sysarg_t;
    5244
    5345typedef int32_t ssize_t;
  • uspace/lib/c/arch/ppc32/include/types.h

    ra1caa3c2 r4196304  
    3838#define __32_BITS__
    3939
    40 typedef unsigned int sysarg_t;
     40#include <libarch/common.h>
    4141
    42 typedef char int8_t;
    43 typedef short int int16_t;
    44 typedef int int32_t;
    45 typedef long long int int64_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short int uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long long int uint64_t;
     42typedef uint32_t sysarg_t;
    5143
    5244typedef int32_t ssize_t;
  • uspace/lib/c/arch/sparc64/include/types.h

    ra1caa3c2 r4196304  
    3838#define __64_BITS__
    3939
    40 typedef unsigned long sysarg_t;
     40#include <libarch/common.h>
    4141
    42 typedef signed char int8_t;
    43 typedef short int int16_t;
    44 typedef int int32_t;
    45 typedef long int int64_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short int uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long int uint64_t;
     42typedef uint64_t sysarg_t;
    5143
    5244typedef int64_t ssize_t;
Note: See TracChangeset for help on using the changeset viewer.