summaryrefslogtreecommitdiff
path: root/rtl-elf.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-elf.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-elf.h')
-rw-r--r--rtl-elf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rtl-elf.h b/rtl-elf.h
index cafc4ce..470187b 100644
--- a/rtl-elf.h
+++ b/rtl-elf.h
@@ -128,6 +128,22 @@ bool rtems_rtl_elf_find_symbol (rtems_rtl_obj_t* obj,
const char* symname,
Elf_Word* value);
+/**
+ * The ELF format check handler.
+ *
+ * @param obj The object being checked.
+ * @param fd The file descriptor.
+ */
+bool rtems_rtl_elf_file_check (rtems_rtl_obj_t* obj, int fd);
+
+/**
+ * The ELF format load handler.
+ *
+ * @param obj The object to load.
+ * @param fd The file descriptor.
+ */
+bool rtems_rtl_elf_file_load (rtems_rtl_obj_t* obj, int fd);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */