summaryrefslogtreecommitdiff
path: root/inc/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cache.h')
-rw-r--r--inc/cache.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/inc/cache.h b/inc/cache.h
index e808727..101cd6e 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -5,21 +5,21 @@
class Cache : public Storage
{
public:
- /**
- * Constructor.
- * @param The number of `lines` contained in memory. The total number of
- * words is this number multiplied by 4.
- * @param The next lowest level in storage. Methods from this object are
- * called in case of a cache miss.
- * @param The number of clock cycles each access takes.
- * @return A new cache object.
- */
- Cache(int lines, Storage *lower, int delay);
- ~Cache();
+ /**
+ * Constructor.
+ * @param The number of `lines` contained in memory. The total number of
+ * words is this number multiplied by 4.
+ * @param The next lowest level in storage. Methods from this object are
+ * called in case of a cache miss.
+ * @param The number of clock cycles each access takes.
+ * @return A new cache object.
+ */
+ Cache(int lines, Storage *lower, int delay);
+ ~Cache();
- Response *write(Accessor accessor, signed int data, int address) override;
- Response *read(Accessor accessor, int address) override;
- int **view(int base, int lines) override;
+ Response *write(Accessor accessor, signed int data, int address) override;
+ Response *read(Accessor accessor, int address) override;
+ int **view(int base, int lines) override;
};
#endif /* CACHE_H_INCLUDED */