diff options
Diffstat (limited to 'qtmips_machine/qtmipsmachine.h')
-rw-r--r-- | qtmips_machine/qtmipsmachine.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h index d2e60de..d130225 100644 --- a/qtmips_machine/qtmipsmachine.h +++ b/qtmips_machine/qtmipsmachine.h @@ -18,6 +18,7 @@ class QtMipsMachine : public QObject { public: QtMipsMachine(const MachineConfig &cc); + const MachineConfig &config(); void set_speed(unsigned); const Registers *registers(); @@ -49,19 +50,17 @@ signals: void tick(); // Time tick private: + MachineConfig mcnf; + Registers *regs; Memory *mem, *mem_program_only; Cache *cch; Core *cr; - bool cr_pipelined; - - unsigned run_speed; QTimer *run_t; std::uint32_t program_end; enum Status stat; - void set_status(enum Status st); }; |