diff options
Diffstat (limited to 'qtmips_machine/machineconfig.h')
-rw-r--r-- | qtmips_machine/machineconfig.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qtmips_machine/machineconfig.h b/qtmips_machine/machineconfig.h index a713a4c..42406ff 100644 --- a/qtmips_machine/machineconfig.h +++ b/qtmips_machine/machineconfig.h @@ -37,7 +37,7 @@ public: // If cache should be used or not void set_enabled(bool); - void set_sets(unsigned); // Number of sets bits used in cache + void set_sets(unsigned); // Number of set void set_blocks(unsigned); // Number of blocks void set_associativity(unsigned); // Degree of associativity void set_replacement_policy(enum ReplacementPolicy); @@ -125,4 +125,6 @@ private: } +Q_DECLARE_METATYPE(machine::MachineConfigCache) + #endif // MACHINECONFIG_H |