From 3d07706c05c46878533f55f26bbe02d7904efd75 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 9 Feb 2014 02:13:53 +0100 Subject: 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 --- utils/regtools/qeditor/std_analysers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/regtools/qeditor/std_analysers.cpp') diff --git a/utils/regtools/qeditor/std_analysers.cpp b/utils/regtools/qeditor/std_analysers.cpp index aef45e7abc..2cc84cb488 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"); -- cgit