summaryrefslogtreecommitdiff
path: root/inc/cache.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-11 16:39:47 -0400
committerbd <bdunahu@operationnull.com>2025-03-11 16:39:47 -0400
commit5f13f583e373bb02b7bf20cbcc9298dc1480a697 (patch)
tree0574ee516499001244d33785a5fc380801c557c9 /inc/cache.h
parentaed0a13d39bfe0b189ea43117aeb2e8b9188c3d9 (diff)
Rename read/write to read_line and write_word
Diffstat (limited to 'inc/cache.h')
-rw-r--r--inc/cache.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/inc/cache.h b/inc/cache.h
index 20a40c2..17abcdd 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -20,13 +20,18 @@ class Cache : public Storage
Cache(Storage *lower, int delay);
~Cache();
- Response write(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(
+ 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_line) override;
- Response read_word(Accessor accessor, int address, signed int &data) override;
+ Response
+ read_word(Accessor accessor, int address, signed int &data) override;
/**
* Getter for the meta attribute.