summaryrefslogtreecommitdiffstats
path: root/utils/regtools/qeditor/backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/qeditor/backend.h')
-rw-r--r--utils/regtools/qeditor/backend.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/regtools/qeditor/backend.h b/utils/regtools/qeditor/backend.h
index c8adbc474f..b2f53c9ed5 100644
--- a/utils/regtools/qeditor/backend.h
+++ b/utils/regtools/qeditor/backend.h
@@ -363,7 +363,11 @@ public:
bool GetRegRef(const SocDevRef& dev, const QString& reg, SocRegRef& ref);
bool GetFieldRef(const SocRegRef& reg, const QString& field, SocFieldRef& ref);
bool GetRegisterAddress(const QString& dev, const QString& reg, soc_addr_t& addr);
- bool DumpAllRegisters(const QString& filename);
+ /* NOTE: does not commit writes to the backend
+ * if ignore_errors is true, the dump will continue even on errors, and the
+ * function will return false if one or more errors occured */
+ bool DumpAllRegisters(IoBackend *backend, bool ignore_errors = true);
+ bool DumpAllRegisters(const QString& filename, bool ignore_errors = true);
private:
IoBackend *m_io_backend;