Mercurial > ecos
view ChangeLog @ 2300:654c837cc618
* include/disk.h (DISK_CHANNEL): No need for extra _part_dev
slot intended for entire disk's own devtab.
* src/disk.c (disk_lookup): Just access pdevs_dev directly
with no adjusted offset.
(disk_init): No longer set entry 0 from device devtab.
It's unnecessary.
* include/disk.h: Merge eCosCentric CVS with public eCos CVS.
This merges (and therefore changes) the API. ChangeLog
entries have been incorporated in the correct places below.
* include/diskio.h: Also merged.
* cdl/io_disk.cdl: Also merged.
* src/disk.c: Also merged.
* src/disk.c (read_partition): Switched to favour LBA partition
information in partition tables. This also means we don't now rely
on the driver reporting a correct CHS size for the disk.
(disk_bread, disk_bwrite): API changed to take length in sectors
rather than bytes. Also call hardware driver to transfer in
(up to) max_transfer sized chunks, rather than a sector at a
time. Call in to driver now made with DSR lock claimed, to avoid a
race condition between the DSR and the calling thread.
(disk_get_config): Added phys_block_size to channel info.
* include/diskio.h (struct cyg_disk_identify_t): Added
phys_block_size and max_transfer fields. These must be filled in
by the driver.
* include/disk.h (DISK_CHANNEL_INIT): New macro. Allows a
DISK_CHANNEL to be defined dynamically.
* src/disk.c (disk_bread, disk_bwrite): Made calls to
cyg_thread_yield() dependent on presence ok kernel.
* src/disk.c (disk_bwrite): Uncomment the cyg_thread_yield() at
the end to prevent thread starvation between threads at the same
priority.
(disk_bread): Ditto.
* src/disk.c (read_partition): Changed to account for very large
disks which report bogus CHS geometry. We can only use the LBA
partition parameters in such disks.
(disk_set_config): Added some extra debug output.
* src/disk.c:
Various changes to support disconnect/reconnect of changeable
media.
* include/diskio.h: Added mount counter to disk_info structure.
* include/disk.h: Changed disk_disconnected() function to take a
pointer to a struct disk_channel rather than a struct
cyg_devtab_entry. Added mount count to disk_channel structure.
Moved include of diskio.h to end to fix declaration problems.
* src/disk.c: Fixed bug in write routine where controller result
field was not being initialized. Added signals on controller queue
condition variable after setting controller busy flag to false.
* include/disk.h: Made controller result and busy fields
volatile. Just in case.
* include/disk.h:
* src/disk.c:
Many changes. Added additional disk_controller data structure to
better reflect hardware structure. Added support for serialization
of multithreaded accesses to a single controller. Added support
for asynchronous, interrupt driven, IO operations. Various
tidies.
| author | jlarmour |
|---|---|
| date | Thu, 21 Sep 2006 16:38:38 +0000 |
| parents | d6a1854fdc1b |
| children | a2fb80f5315f |
line wrap: on
line source
2003-03-27 Bart Veer <bartv@ecoscentric.com> * configure.in, configure: Look for the host-side sources in tools/src as well as in host, as per the 2.0 release tree. Look for per-package host-side software in any/all versions of a package, not just "current". 2003-02-12 Bart Veer <bartv@ecoscentric.com> * README.host: update Tcl-related instructions * Makefile.in: regenerate 2002-08-13 Bart Veer <bartv@ecoscentric.com> * README.host: update host-side build instructions 2002-08-03 Bart Veer <bartv@ecoscentric.com> * acinclude.m4, configure.in, Makefile.am: Rework host-side autoconf support 1999-11-10 Bart Veer <bartv@cygnus.co.uk> * configure.in * configure Added host/tools/configtool/standalone/common 1999-11-09 Bart Veer <bartv@cygnus.co.uk> * configure: * configure.in: Added host/tools/ecostest/common, suppressed the configtool support for now. 1999-08-12 Bart Veer <bartv@cygnus.co.uk> * Makefile.in: * acinclude.m4: * aclocal.m4: * configure.in: * configure: First attempt at autoconfiscation of the configtool. 1999-06-03 Bart Veer <bartv@cygnus.co.uk> * acinclude.m4: Trying to sort out the compiler flags a bit better. 1999-06-02 Bart Veer <bartv@cygnus.co.uk> * acinclude.m4: Added -enable-debuginfo flag which will do the right thing for both gcc/g++ (add -g) and VC++ (add -MDd or -MD) 1999-03-25 Bart Veer <bartv@cygnus.co.uk> * configure.in: * aclocal.m4: * acinclude.m4: * Makefile.am: Sorting out the banner. 1999-01-26 Bart Veer <bartv@cygnus.co.uk> * configure.in: * configure: * aclocal.m4: * Makefile.in Update to use autoconf 2.13 and automake 1.4 * acinclude.m4 (CYG_AC_PATH_TCL): Improve the support for linking with Tcl 1999-01-21 Bart Veer <bartv@cygnus.co.uk> * acinclude.m4: Added new macro CYG_AC_SUBST_VERSION so that different packages can use different symbols for versioning. 1999-01-19 Bart Veer <bartv@cygnus.co.uk> * acinclude.m4: * aclocal.m4: * Makefile.in: Added new macros: CYG_AC_MSVC_PATH for handling pathname problems between cygwin and VC++; and CYG_AC_PATH_TCL so that the user can specify the location of a suitable Tcl installation. 1998-12-24 Bart Veer <bartv@cygnus.co.uk> * configure.in: * configure: * aclocal.m4: * acinclude.m4: * Makefile.in: * Makefile.am: Provide support for building all host-side packages. 1998-07-13 Bart Veer <bartv@cygnus.co.uk> * ltconfig * ltmain-sh Merge with latest versions from devo * missing * mkinstalldirs * config.guess * config.sub * install-sh * ltconfig * ltmain-sh Restore files that had been removed prematurely
