forked from len0rd/rockbox
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>
This commit is contained in:
parent
1bcc4fc67b
commit
dc3ae2aeb9
2 changed files with 25 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue