Changeset a5b6cdd in rtems


Ignore:
Timestamp:
Sep 8, 2008, 3:19:34 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
5265a27
Parents:
df4fcaa
Message:

2008-09-08 Joel Sherrill <joel.sherrill@…>

  • libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
Location:
cpukit
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rdf4fcaa ra5b6cdd  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c,
     4        libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
     5        libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c,
     6        libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c,
     7        libmisc/monitor/monitor.h, libmisc/stackchk/internal.h,
     8        rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h,
     9        score/include/rtems/score/bitfield.h, score/src/mpci.c,
     10        score/src/objectextendinformation.c, score/src/threadmp.c: Remove
     11        extraneous spaces.
     12
    1132008-09-08      Ralf Corsépius <ralf.corsepius@rtems.org>
    214
  • cpukit/libcsupport/include/rtems/libio_.h

    rdf4fcaa ra5b6cdd  
    5656
    5757#define rtems_libio_iop(_fd) \
    58   ((((uint32_t  )(_fd)) < rtems_libio_number_iops) ? \
     58  ((((uint32_t)(_fd)) < rtems_libio_number_iops) ? \
    5959         &rtems_libio_iops[_fd] : 0)
    6060
     
    9191#define rtems_libio_check_fd(_fd) \
    9292  do {                                                     \
    93       if ((uint32_t  ) (_fd) >= rtems_libio_number_iops) { \
     93      if ((uint32_t) (_fd) >= rtems_libio_number_iops) { \
    9494          errno = EBADF;                                   \
    9595          return -1;                                       \
  • cpukit/libcsupport/src/libio_sockets.c

    rdf4fcaa ra5b6cdd  
    3333
    3434  /* same as rtems_libio_check_fd(_fd) but different return */
    35   if ((uint32_t  )fd >= rtems_libio_number_iops) {
     35  if ((uint32_t)fd >= rtems_libio_number_iops) {
    3636    errno = EBADF;
    3737    return NULL;
  • cpukit/libfs/src/dosfs/fat.h

    rdf4fcaa ra5b6cdd  
    7777#define FAT_FAT32              0x04
    7878
    79 #define FAT_UNDEFINED_VALUE     (uint32_t  )0xFFFFFFFF
     79#define FAT_UNDEFINED_VALUE     (uint32_t)0xFFFFFFFF
    8080
    8181#define FAT_FAT12_EOC          0x0FF8
    8282#define FAT_FAT16_EOC          0xFFF8
    83 #define FAT_FAT32_EOC          (uint32_t  )0x0FFFFFF8
     83#define FAT_FAT32_EOC          (uint32_t)0x0FFFFFF8
    8484
    8585#define FAT_FAT12_FREE         0x0000
     
    8787#define FAT_FAT32_FREE         0x00000000
    8888
    89 #define FAT_GENFAT_EOC         (uint32_t  )0xFFFFFFFF
    90 #define FAT_GENFAT_FREE        (uint32_t  )0x00000000
     89#define FAT_GENFAT_EOC         (uint32_t)0xFFFFFFFF
     90#define FAT_GENFAT_FREE        (uint32_t)0x00000000
    9191
    9292#define FAT_FAT12_SHIFT        0x04
     
    9494#define FAT_FAT12_MASK         0x00000FFF
    9595#define FAT_FAT16_MASK         0x0000FFFF
    96 #define FAT_FAT32_MASK         (uint32_t  )0x0FFFFFFF
     96#define FAT_FAT32_MASK         (uint32_t)0x0FFFFFFF
    9797
    9898#define FAT_MAX_BPB_SIZE       90
  • cpukit/libfs/src/dosfs/msdos.h

    rdf4fcaa ra5b6cdd  
    8484#define MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE    32 /* 32 bytes */
    8585
    86 #define MSDOS_DIR_NAME(x)                 (char      *)((x) + 0)
    87 #define MSDOS_DIR_ATTR(x)                 (uint8_t   *)((x) + 11)
    88 #define MSDOS_DIR_NT_RES(x)               (uint8_t   *)((x) + 12)
    89 #define MSDOS_DIR_CRT_TIME_TENTH(x)       (uint8_t   *)((x) + 13)
    90 #define MSDOS_DIR_CRT_TIME(x)             (uint16_t   *)((x) + 14)
    91 #define MSDOS_DIR_CRT_DATE(x)             (uint16_t   *)((x) + 16)
    92 #define MSDOS_DIR_LAST_ACCESS_DATE(x)     (uint16_t   *)((x) + 18)
    93 #define MSDOS_DIR_FIRST_CLUSTER_HI(x)     (uint16_t   *)((x) + 20)
    94 #define MSDOS_DIR_WRITE_TIME(x)           (uint16_t   *)((x) + 22)
    95 #define MSDOS_DIR_WRITE_DATE(x)           (uint16_t   *)((x) + 24)
    96 #define MSDOS_DIR_FIRST_CLUSTER_LOW(x)    (uint16_t   *)((x) + 26)
    97 #define MSDOS_DIR_FILE_SIZE(x)            (uint32_t   *)((x) + 28)
     86#define MSDOS_DIR_NAME(x)                 (char     *)((x) + 0)
     87#define MSDOS_DIR_ATTR(x)                 (uint8_t  *)((x) + 11)
     88#define MSDOS_DIR_NT_RES(x)               (uint8_t  *)((x) + 12)
     89#define MSDOS_DIR_CRT_TIME_TENTH(x)       (uint8_t  *)((x) + 13)
     90#define MSDOS_DIR_CRT_TIME(x)             (uint16_t *)((x) + 14)
     91#define MSDOS_DIR_CRT_DATE(x)             (uint16_t *)((x) + 16)
     92#define MSDOS_DIR_LAST_ACCESS_DATE(x)     (uint16_t *)((x) + 18)
     93#define MSDOS_DIR_FIRST_CLUSTER_HI(x)     (uint16_t *)((x) + 20)
     94#define MSDOS_DIR_WRITE_TIME(x)           (uint16_t *)((x) + 22)
     95#define MSDOS_DIR_WRITE_DATE(x)           (uint16_t *)((x) + 24)
     96#define MSDOS_DIR_FIRST_CLUSTER_LOW(x)    (uint16_t *)((x) + 26)
     97#define MSDOS_DIR_FILE_SIZE(x)            (uint32_t *)((x) + 28)
    9898
    9999#define MSDOS_EXTRACT_CLUSTER_NUM(p)                                         \
    100             (uint32_t  )( (CF_LE_W(*MSDOS_DIR_FIRST_CLUSTER_LOW(p))) |       \
    101                           ((uint32_t  )(CF_LE_W((*MSDOS_DIR_FIRST_CLUSTER_HI(p))))<<16) )
     100            (uint32_t)( (CF_LE_W(*MSDOS_DIR_FIRST_CLUSTER_LOW(p))) |       \
     101                          ((uint32_t)(CF_LE_W((*MSDOS_DIR_FIRST_CLUSTER_HI(p))))<<16) )
    102102
    103103/*
  • cpukit/libfs/src/imfs/deviceio.c

    rdf4fcaa ra5b6cdd  
    4949    int rc;
    5050
    51     if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
     51    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t) code)))
    5252    {
    5353        errno = rc;
  • cpukit/libmisc/monitor/mon-monitor.c

    rdf4fcaa ra5b6cdd  
    439439            sp = rtems_symbol_create(rtems_monitor_symbols,
    440440                                     symbol,
    441                                      (uint32_t  ) strtoul(value, 0, 16));
     441                                     (uint32_t) strtoul(value, 0, 16));
    442442            if (sp == 0)
    443443            {
  • cpukit/libmisc/monitor/mon-object.c

    rdf4fcaa ra5b6cdd  
    204204
    205205    request.command = RTEMS_MONITOR_SERVER_CANONICAL;
    206     request.argument0 = (uint32_t  ) type;
    207     request.argument1 = (uint32_t  ) id;
     206    request.argument0 = (uint32_t) type;
     207    request.argument1 = (uint32_t) id;
    208208
    209209    status = rtems_monitor_server_request(
  • cpukit/libmisc/monitor/mon-symbols.c

    rdf4fcaa ra5b6cdd  
    363363)
    364364{
    365     uint32_t   value = (uint32_t  ) value_void_p;
     365    uint32_t   value = (uint32_t) value_void_p;
    366366    rtems_symbol_t *sp;
    367367
  • cpukit/libmisc/monitor/monitor.h

    rdf4fcaa ra5b6cdd  
    372372/* monitor.c */
    373373void    rtems_monitor_kill(void);
    374 void    rtems_monitor_init(uint32_t  );
     374void    rtems_monitor_init(uint32_t);
    375375void    rtems_monitor_wakeup(void);
    376376void    rtems_monitor_pause_cmd(int, char **, rtems_monitor_command_arg_t*, bool);
  • cpukit/libmisc/stackchk/internal.h

    rdf4fcaa ra5b6cdd  
    3333#endif
    3434
    35 #define PATTERN_SIZE_BYTES      (PATTERN_SIZE_WORDS * sizeof(uint32_t  ))
     35#define PATTERN_SIZE_BYTES      (PATTERN_SIZE_WORDS * sizeof(uint32_t))
    3636
    3737typedef struct {
  • cpukit/rtems/inline/rtems/rtems/part.inl

    rdf4fcaa ra5b6cdd  
    6868  uint32_t     offset;
    6969
    70   offset = (uint32_t  ) _Addresses_Subtract(
     70  offset = (uint32_t) _Addresses_Subtract(
    7171    the_buffer,
    7272    the_partition->starting_address
  • cpukit/score/include/rtems/score/bitfield.h

    rdf4fcaa ra5b6cdd  
    8787#define _Bitfield_Find_first_bit( _value, _bit_number ) \
    8888  { \
    89     register uint32_t   __value = (uint32_t  ) (_value); \
     89    register uint32_t   __value = (uint32_t) (_value); \
    9090    register const unsigned char *__p = __log2table; \
    9191    \
  • cpukit/score/include/rtems/system.h

    rdf4fcaa ra5b6cdd  
    183183 */
    184184#define RTEMS_offsetof(type, field) \
    185        ((uint32_t  ) &(((type *) 0)->field))
     185       ((uint32_t) &(((type *) 0)->field))
    186186
    187187/**
  • cpukit/score/src/mpci.c

    rdf4fcaa ra5b6cdd  
    232232  the_packet->source_tid = _Thread_Executing->Object.id;
    233233  the_packet->to_convert =
    234      ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) /
    235        sizeof(uint32_t  );
     234     ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) / sizeof(uint32_t);
    236235
    237236  (*_MPCI_table->send_packet)( destination, the_packet );
     
    255254  the_packet->source_priority = _Thread_Executing->current_priority;
    256255  the_packet->to_convert =
    257      ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) /
    258        sizeof(uint32_t  );
     256     ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) / sizeof(uint32_t);
    259257
    260258  _Thread_Executing->Wait.id = the_packet->id;
  • cpukit/score/src/objectextendinformation.c

    rdf4fcaa ra5b6cdd  
    122122        _Workspace_Allocate(
    123123          block_count *
    124              (sizeof(void *) + sizeof(uint32_t  ) + sizeof(Objects_Name *)) +
     124             (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
    125125          ((maximum + minimum_index) * sizeof(Objects_Control *))
    126126          );
     
    143143     */
    144144
    145     inactive_per_block = (uint32_t   *) _Addresses_Add_offset(
     145    inactive_per_block = (uint32_t *) _Addresses_Add_offset(
    146146        object_blocks, block_count * sizeof(void*) );
    147147    local_table = (Objects_Control **) _Addresses_Add_offset(
     
    167167      memcpy( inactive_per_block,
    168168              information->inactive_per_block,
    169               block_count * sizeof(uint32_t  ) );
     169              block_count * sizeof(uint32_t) );
    170170      memcpy( local_table,
    171171              information->local_table,
  • cpukit/score/src/threadmp.c

    rdf4fcaa ra5b6cdd  
    118118
    119119#define _Thread_MP_Proxy_Active_offset \
    120      ((uint32_t  )&(((Thread_Proxy_control *)0))->Active)
     120     ((uint32_t)&(((Thread_Proxy_control *)0))->Active)
    121121
    122122Thread_Control *_Thread_MP_Find_proxy (
Note: See TracChangeset for help on using the changeset viewer.