diff options
Diffstat (limited to 'qtmips_machine/core.h')
-rw-r--r-- | qtmips_machine/core.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index 5658726..6b025db 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -259,7 +259,7 @@ protected: struct dtExecute execute(const struct dtDecode&); struct dtMemory memory(const struct dtExecute&); void writeback(const struct dtMemory&); - bool handle_pc(const struct dtDecode&, std::int32_t rel_adj = 0); + bool handle_pc(const struct dtDecode&); enum ExceptionCause memory_special(enum AccessControl memctl, int mode, bool memread, bool memwrite, @@ -298,7 +298,8 @@ protected: void do_reset(); private: - struct Core::dtDecode *jmp_delay_decode; + struct Core::dtFetch *dt_f; + std::uint32_t prev_inst_addr; }; class CorePipelined : public Core { |