summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-obj.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2016-07-21 02:35:00 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2016-07-21 02:35:00 +0200
commit8709aa0459217822ce4118416c8547ed08d96ac1 (patch)
tree39a7e1475c886666edd02ee649d8c1d7619ebee9 /cpukit/libdl/rtl-obj.h
parentarm/raspberrypi: reorder and update MMU config table to nor force RW section ... (diff)
downloadrtems-8709aa0459217822ce4118416c8547ed08d96ac1.tar.bz2
libdl/rtl-obj.c: synchronize cache after code relocation.
Memory content changes caused by relocation has to be propagated to memory/cache level which is used/snooped during instruction cache fill. Closes #2438
Diffstat (limited to 'cpukit/libdl/rtl-obj.h')
-rw-r--r--cpukit/libdl/rtl-obj.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libdl/rtl-obj.h b/cpukit/libdl/rtl-obj.h
index 1202fd5643..80fc60fb05 100644
--- a/cpukit/libdl/rtl-obj.h
+++ b/cpukit/libdl/rtl-obj.h
@@ -494,6 +494,13 @@ bool rtems_rtl_obj_relocate (rtems_rtl_obj_t* obj,
void* data);
/**
+ * Synchronize caches to make code visible to CPU(s)
+ *
+ * @param obj The object file's descriptor.
+ */
+void rtems_rtl_obj_synchronize_cache (rtems_rtl_obj_t* obj);
+
+/**
* Relocate an object file's unresolved reference.
*
* @param rec The unresolved relocation record.