diff options
author | Chris Johns <chrisj@rtems.org> | 2009-04-29 08:51:07 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-04-29 08:51:07 +0000 |
commit | 57aa979e4f8ef9fcace629b22f16faa1b5bf5e73 (patch) | |
tree | 0aa45f200cbc05f58c378c3e0e0b35466edb2269 /cpukit/sapi | |
parent | 2009-04-29 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-57aa979e4f8ef9fcace629b22f16faa1b5bf5e73.tar.bz2 |
2009-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h, libblock/include/rtems/bdbuf.h: Changed
type of rtems_bdbuf_pool_configuration_size to size_t.
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/blkdev.h,
libblock/include/rtems/diskdevs.h, libblock/src/bdbuf.c,
libblock/src/blkdev.c, libblock/src/diskdevs.c: Buffer pool
allocation is now cache aligned. The cache functions are
currently not available on all platforms so the cache line size is
fixed to 32 bytes for now. Changed various integer types which
refer to block sizes, numbers and indexes. Fixed logical block
indexes in buffer get and read function. It is now possible to
delete logical disks. Modified documentation
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index b50ff01107..52a611b5f0 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -740,7 +740,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper = rtems_bdbuf_pool_config rtems_bdbuf_pool_configuration[] = { {CONFIGURE_BDBUF_BUFFER_SIZE, CONFIGURE_BDBUF_BUFFER_COUNT, NULL} }; - int rtems_bdbuf_pool_configuration_size = + size_t rtems_bdbuf_pool_configuration_size = (sizeof(rtems_bdbuf_pool_configuration) / sizeof(rtems_bdbuf_pool_configuration[0])); #endif /* CONFIGURE_INIT */ |