summaryrefslogtreecommitdiff
path: root/inc/cache.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-11 17:24:37 -0400
committerbd <bdunahu@operationnull.com>2025-03-11 17:24:37 -0400
commit282aff5a3d1b6f9678453dfa3e216849d5b1d954 (patch)
tree4de529c2e8a762503b99db77efc73cdc98104bb0 /inc/cache.h
parentdef2338f8156281e776ec5d60769c3e64b88e65d (diff)
parentf208e63ce553c6144a672cd35da23425fa7f86d1 (diff)
Merge remote-tracking branch 'origin/master' into bdunahu
Diffstat (limited to 'inc/cache.h')
-rw-r--r--inc/cache.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/inc/cache.h b/inc/cache.h
index a566f24..31602ca 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -20,11 +20,18 @@ class Cache : public Storage
Cache(Storage *lower, int delay);
~Cache();
- Response write(Accessor accessor, signed int data, int address) override;
- Response read(
+ Response
+ write_word(Accessor accessor, signed int data, int address) override;
+ Response write_line(
+ Accessor accessor,
+ std::array<signed int, LINE_SIZE> data_line,
+ int address) override;
+ Response read_line(
Accessor accessor,
int address,
- std::array<signed int, LINE_SIZE> &data) override;
+ std::array<signed int, LINE_SIZE> &data_line) override;
+ Response
+ read_word(Accessor accessor, int address, signed int &data) override;
/**
* Getter for the meta attribute.