summaryrefslogtreecommitdiff
path: root/rtl-obj-cache.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-11-29 19:08:57 +1100
committerChris Johns <chrisj@rtems.org>2012-11-29 19:08:57 +1100
commitfc313fda72db4b7aa774e191244bf83427b0fec1 (patch)
tree159e98d0ffaa489a4f4b3deb7ca49178df8bfa2a /rtl-obj-cache.h
parent62b19fe866226b8fa0ce54351162dab367daa06a (diff)
RAP file support.
This is the initial addition of support for LZ77 RTEMS applications in the RAP format. The change add support for different formats to the loader. Each format type is asked to check the file being loading and if it matches the format's loader is called to load the file. Support has been added to stream LZ77 files via the object file cache.
Diffstat (limited to 'rtl-obj-cache.h')
-rw-r--r--rtl-obj-cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/rtl-obj-cache.h b/rtl-obj-cache.h
index 01f9e96..65031c2 100644
--- a/rtl-obj-cache.h
+++ b/rtl-obj-cache.h
@@ -93,8 +93,9 @@ void rtems_rtl_obj_cache_flush (rtems_rtl_obj_cache_t* cache);
* and size is past the end of the file.
*
* @param cache The cache to reference data from.
- * @param fs The file descriptor. Must be an open file.
+ * @param fd The file descriptor. Must be an open file.
* @param offset The offset in the file to reference the data to.
+ * @param buffer The location to reference the data from.
* @param length The length of data to reference. Can be modified to a
* lesser value and true is still returned so check it.
* @retval true The data referenced is in the cache.
@@ -110,8 +111,9 @@ bool rtems_rtl_obj_cache_read (rtems_rtl_obj_cache_t* cache,
* Read data by value. The data is copied to the user supplied buffer.
*
* @param cache The cache to read the data from.
- * @param fs The file descriptor. Must be an open file.
+ * @param fd The file descriptor. Must be an open file.
* @param offset The offset in the file to read the data from.
+ * @param buffer The location the data is written into.
* @param length The length of data to read.
* @retval true The data has been read from the cache.
* @retval false The read failed and the RTL error has been set.