Changeset 588c9ed in rtems


Ignore:
Timestamp:
Apr 7, 1997, 9:26:49 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2938c1a3
Parents:
930b3d5
Message:

added cast to eliminate warning

Location:
c/src/lib/libbsp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/hppa1.1/simhppa/startup/bspstart.c

    r930b3d5 r588c9ed  
    7171
    7272    /* init our params on first call */
    73     if (normal_clock == ~0)
     73    if (normal_clock == (rtems_unsigned32) ~0)
    7474    {
    7575        normal_clock = CPU_HPPA_CLICKS_PER_TICK;
  • c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c

    r930b3d5 r588c9ed  
    6363    heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
    6464 
    65   if (heap_start > RAM_END) {
     65  if (heap_start > (rtems_unsigned32) RAM_END) {
    6666    /* rtems_fatal_error_occurred can not be used before initalization */
    6767    RAW_PUTS("\n\rRTEMS: Out of memory.\n\r");
  • c/src/lib/libbsp/m68k/mvme147s/shmsupp/getcfg.c

    r930b3d5 r588c9ed  
    5656   on the first node*/
    5757  if (localnode == 1)
    58     BSP_shm_cfgtbl.base         = RAM_END;
     58    BSP_shm_cfgtbl.base       = (vol_u32 *) RAM_END;
    5959  else
    60     BSP_shm_cfgtbl.base         = DRAM_END + RAM_END;
     60    BSP_shm_cfgtbl.base       = (vol_u32 *) (DRAM_END + RAM_END);
     61
    6162  BSP_shm_cfgtbl.length       = DRAM_END - RAM_END;
    6263  BSP_shm_cfgtbl.format       = SHM_BIG;
Note: See TracChangeset for help on using the changeset viewer.