Changeset 76f9c44 in rtems


Ignore:
Timestamp:
Oct 20, 2004, 8:23:27 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d2df5ee
Parents:
f876488
Message:

2004-10-20 Ralf Corsepius <ralf_corsepius@…>

  • console/console.c, include/bsp.h, startup/bspstart.c, startup/iss555.c: Use POSIX fixed size types.
Location:
c/src/lib/libbsp/powerpc/ss555
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ss555/ChangeLog

    rf876488 r76f9c44  
     12004-10-20      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * console/console.c, include/bsp.h, startup/bspstart.c,
     4        startup/iss555.c: Use POSIX fixed size types.
     5
    162004-09-24      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/lib/libbsp/powerpc/ss555/console/console.c

    rf876488 r76f9c44  
    154154{
    155155  rtems_libio_rw_args_t *rw_args = arg;
    156   unsigned32 i;
     156  uint32_t i;
    157157  char cr ='\r';
    158158
  • c/src/lib/libbsp/powerpc/ss555/include/bsp.h

    rf876488 r76f9c44  
    5252 */
    5353typedef struct cpld_ {
    54   rtems_unsigned8       cs3a[32];               /* Chip select 3A */
    55   rtems_unsigned8       pad0[0x200000 - 0x000020];
     54  uint8_t       cs3a[32];               /* Chip select 3A */
     55  uint8_t       pad0[0x200000 - 0x000020];
    5656
    57   rtems_unsigned8       cs3b[32];               /* Chip select 3B */
    58   rtems_unsigned8       pad2[0x400000 - 0x200020];
     57  uint8_t       cs3b[32];               /* Chip select 3B */
     58  uint8_t       pad2[0x400000 - 0x200020];
    5959
    60   rtems_unsigned8       cs3c[32];               /* Chip select 3C */
    61   rtems_unsigned8       pad4[0x600000 - 0x400020];
     60  uint8_t       cs3c[32];               /* Chip select 3C */
     61  uint8_t       pad4[0x600000 - 0x400020];
    6262
    63   rtems_unsigned8       cs3d[32];               /* Chip select 3D */
    64   rtems_unsigned8       pad6[0x800000 - 0x600020];
     63  uint8_t       cs3d[32];               /* Chip select 3D */
     64  uint8_t       pad6[0x800000 - 0x600020];
    6565
    66   rtems_unsigned8       serial_ints;    /* Enable/disable serial interrupts */
    67   rtems_unsigned8       serial_resets;  /* Enable/disable serial resets */
    68   rtems_unsigned8       serial_ack;     /* Acknowledge serial transfers */
    69   rtems_unsigned8       pad8[0xA00000 - 0x800003];
     66  uint8_t       serial_ints;    /* Enable/disable serial interrupts */
     67  uint8_t       serial_resets;  /* Enable/disable serial resets */
     68  uint8_t       serial_ack;     /* Acknowledge serial transfers */
     69  uint8_t       pad8[0xA00000 - 0x800003];
    7070
    71   rtems_unsigned8       iflash_writess; /* Enable/disable internal-flash writes */
    72   rtems_unsigned8       nflash_writess; /* Enable/disable NAND-flash writes */
    73   rtems_unsigned8       padA[0xC00000 - 0xA00002];
     71  uint8_t       iflash_writess; /* Enable/disable internal-flash writes */
     72  uint8_t       nflash_writess; /* Enable/disable NAND-flash writes */
     73  uint8_t       padA[0xC00000 - 0xA00002];
    7474} cpld_t;
    7575
  • c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c

    rf876488 r76f9c44  
    5959 */
    6060void bsp_postdriver_hook(void);
    61 void bsp_libc_init( void *, unsigned32, int );
     61void bsp_libc_init( void *, uint32_t, int );
    6262
    6363void BSP_panic(char *s)
  • c/src/lib/libbsp/powerpc/ss555/startup/iss555.c

    rf876488 r76f9c44  
    3232void _InitSS555 (void)
    3333{
    34   register unsigned32 plprcr, msr;
     34  register uint32_t plprcr, msr;
    3535
    3636  /*
     
    104104  usiu.memc[0]._br =
    105105      USIU_MEMC_BR_BA(_read_IMMR() & IMMR_FLEN
    106         ? (rtems_unsigned32)int_ram_top : 0)    /* base address */
     106        ? (uint32_t)int_ram_top : 0)    /* base address */
    107107    | USIU_MEMC_BR_PS32                 /* 32-bit data bus */
    108108    | USIU_MEMC_BR_TBDIP                /* toggle bdip */
Note: See TracChangeset for help on using the changeset viewer.