Changeset 1ff9922 in rtems for cpukit/libblock


Ignore:
Timestamp:
Dec 22, 2007, 8:27:18 AM (12 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
e85eb70
Parents:
e709ff4a
Message:

2007-12-22 Chris Johns <chrisj@…>

  • configure.ac: fixed bug that always enabled strict order mutexes.
  • score/inline/rtems/score/coremutex.inl: Fixed coding standard.
  • score/src/coremutex.c: Add the holder's thread to the lock_mutex list if the mutex is initialised locked.
  • libnetworking/rtems/rtems_glue.c: Changed semaphore error message to show the error is an rtems-net error.
  • libmisc/monitor/mon-network.c: Removed warnings.
  • telnetd/icmds.c: Changed shell_* to rtems_shell_*.
  • score/Makefile.am: Fixed typo that stopped 'make tags' working.
  • libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c, libmisc/shell/extern-cp.h, libmisc/shell/fts.c, libmisc/shell/fts.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c, libmisc/shell/verr.c, libmisc/shell/verrx.c, libmisc/shell/vwarn.c, libmisc/shell/vwarnx.c, libmisc/shell/warn.c, libmisc/shell/warnx.c: New. Ported from BSD.
  • libmisc/shell/shellconfig.h: Add the cp command.
  • libmisc/Makefile.am: Add the new files to the shell.
  • libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting support.
  • libblock/src/flashdisk.c: Fixed disk drive count size setting bug.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/flashdisk.c

    re709ff4a r1ff9922  
    20032003/**
    20042004 * Flash disk WRITE request handler. This primitive copies data from
    2005  * supplied buffer to RAM disk and invoke the callout function to inform
     2005 * supplied buffer to flash disk and invoke the callout function to inform
    20062006 * upper layer that writing is completed.
    20072007 *
     
    23412341 * Flash disk device driver initialization.
    23422342 *
     2343 * @todo Memory clean up on error is really badly handled.
     2344 *
    23432345 * @param major Flash disk major device number.
    23442346 * @param minor Minor device number, not applicable.
     
    24202422      return RTEMS_NO_MEMORY;
    24212423
    2422     fd->block_count  = blocks;
     2424    fd->block_count = blocks;
    24232425
    24242426    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
     
    24722474      rtems_fdisk_error ("compacting of disk failed: %s (%d)",
    24732475                         strerror (ret), ret);
    2474 
    2475     rtems_flashdisk_count = rtems_flashdisk_configuration_size;
    2476   }
     2476  }
     2477
     2478  rtems_flashdisk_count = rtems_flashdisk_configuration_size;
    24772479
    24782480  return RTEMS_SUCCESSFUL;
Note: See TracChangeset for help on using the changeset viewer.