forked from len0rd/rockbox
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
This commit is contained in:
parent
8358707d82
commit
3d07706c05
8 changed files with 161 additions and 104 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue