diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-09 02:13:53 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-10 23:14:26 +0100 |
| commit | 3d07706c05c46878533f55f26bbe02d7904efd75 (patch) | |
| tree | f1b549c275f7a27f9e7038e5fc4eccb94bf8be45 /utils/regtools/qeditor/std_analysers.cpp | |
| parent | 8358707d8276dd297655395b922560e3c65631e1 (diff) | |
| download | rockbox-3d07706c05c46878533f55f26bbe02d7904efd75.zip rockbox-3d07706c05c46878533f55f26bbe02d7904efd75.tar.gz rockbox-3d07706c05c46878533f55f26bbe02d7904efd75.tar.bz2 rockbox-3d07706c05c46878533f55f26bbe02d7904efd75.tar.xz | |
regtools/qeditor: rewrite soc handling
The code was a mess with respect to soc handling: some code just plain copied
the SoC descriptor which are big objects, some was using indexes. The new soc
factor out everything in a few classes which hide these ugly details so that
descriptors are never copied.
Change-Id: I17af8b47f997a528b58221621389d42d24fded93
Diffstat (limited to 'utils/regtools/qeditor/std_analysers.cpp')
| -rw-r--r-- | utils/regtools/qeditor/std_analysers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/regtools/qeditor/std_analysers.cpp b/utils/regtools/qeditor/std_analysers.cpp index aef45e7..2cc84cb 100644 --- a/utils/regtools/qeditor/std_analysers.cpp +++ b/utils/regtools/qeditor/std_analysers.cpp @@ -4,7 +4,7 @@ * Clock analyser */ -ClockAnalyser::ClockAnalyser(const soc_t& soc, IoBackend *backend) +ClockAnalyser::ClockAnalyser(const SocRef& soc, IoBackend *backend) :Analyser(soc, backend) { m_group = new QGroupBox("Clock Analyser"); @@ -300,7 +300,7 @@ static TmplAnalyserFactory< ClockAnalyser > g_clock_factory(true, "Clock Analyse /** * EMI analyser */ -EmiAnalyser::EmiAnalyser(const soc_t& soc, IoBackend *backend) +EmiAnalyser::EmiAnalyser(const SocRef& soc, IoBackend *backend) :Analyser(soc, backend) { m_display_mode = DisplayCycles; @@ -647,7 +647,7 @@ namespace pin_desc #include "../../imxtools/misc/map.h" } -PinAnalyser::PinAnalyser(const soc_t& soc, IoBackend *backend) +PinAnalyser::PinAnalyser(const SocRef& soc, IoBackend *backend) :Analyser(soc, backend) { m_group = new QGroupBox("Pin Analyser"); |