diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-09-30 15:51:38 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-12-15 22:53:33 +0100 |
commit | dc3ae2aeb9919b0a45d9ff2dfe07d26a9625e57d (patch) | |
tree | a84ccfd90ab082aa0aae0b1a73571fb07e548fa4 /utils/regtools/qeditor/backend.h | |
parent | 1bcc4fc67bb0aa7b7fab9f9a098f3b473ea1637f (diff) | |
download | rockbox-dc3ae2aeb9919b0a45d9ff2dfe07d26a9625e57d.tar.gz rockbox-dc3ae2aeb9919b0a45d9ff2dfe07d26a9625e57d.zip |
qeditor: rework register dump to be more general and flexible
Change-Id: I2fb7a2813c93f0804ed1ca6223625706d0dff9a5
Reviewed-on: http://gerrit.rockbox.org/998
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'utils/regtools/qeditor/backend.h')
-rw-r--r-- | utils/regtools/qeditor/backend.h | 6 |
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: | |||
363 | bool GetRegRef(const SocDevRef& dev, const QString& reg, SocRegRef& ref); | 363 | bool GetRegRef(const SocDevRef& dev, const QString& reg, SocRegRef& ref); |
364 | bool GetFieldRef(const SocRegRef& reg, const QString& field, SocFieldRef& ref); | 364 | bool GetFieldRef(const SocRegRef& reg, const QString& field, SocFieldRef& ref); |
365 | bool GetRegisterAddress(const QString& dev, const QString& reg, soc_addr_t& addr); | 365 | bool GetRegisterAddress(const QString& dev, const QString& reg, soc_addr_t& addr); |
366 | bool DumpAllRegisters(const QString& filename); | 366 | /* NOTE: does not commit writes to the backend |
367 | * if ignore_errors is true, the dump will continue even on errors, and the | ||
368 | * function will return false if one or more errors occured */ | ||
369 | bool DumpAllRegisters(IoBackend *backend, bool ignore_errors = true); | ||
370 | bool DumpAllRegisters(const QString& filename, bool ignore_errors = true); | ||
367 | 371 | ||
368 | private: | 372 | private: |
369 | IoBackend *m_io_backend; | 373 | IoBackend *m_io_backend; |