summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/vfs/vfs.H14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/usr/vfs/vfs.H b/src/include/usr/vfs/vfs.H
index c916eb8ce..f65bfd51c 100644
--- a/src/include/usr/vfs/vfs.H
+++ b/src/include/usr/vfs/vfs.H
@@ -83,6 +83,20 @@ namespace VFS
*/
errlHndl_t module_address(const char * i_name, const char *& o_address, size_t & o_size);
+ /**
+ * Get the module name associated with an address
+ * @param[in] i_vaddr, The virtual address
+ * @returns ptr to module name or NULL if not found
+ */
+ const char * module_find_name(const void * i_vaddr);
+
+ /**
+ * Query if module is loaded
+ * @param[in] module name
+ * @returns [true|false]
+ */
+ bool module_is_loaded(const char * i_name);
+
};
#endif
OpenPOWER on IntegriCloud