diff options
author | Karel Kočí <cynerd@email.cz> | 2018-04-07 21:13:42 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-04-07 21:13:42 +0200 |
commit | 8027941b705e219fd202b7c01d5a4a311670cbee (patch) | |
tree | 69ded0f03bea200586611c3916be82e4132f989a /qtmips_machine/machineconfig.h | |
parent | 1359b6a4bcc9f37ab8d550cd960bfa6bd9a86a36 (diff) | |
download | qtmips-8027941b705e219fd202b7c01d5a4a311670cbee.tar.gz qtmips-8027941b705e219fd202b7c01d5a4a311670cbee.tar.bz2 qtmips-8027941b705e219fd202b7c01d5a4a311670cbee.zip |
Add initial implementatio of caches
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 |