summaryrefslogtreecommitdiff
path: root/inc/storage.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/storage.h
parentaed0a13d39bfe0b189ea43117aeb2e8b9188c3d9 (diff)
Rename read/write to read_line and write_word
Diffstat (limited to 'inc/storage.h')
-rw-r--r--inc/storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/storage.h b/inc/storage.h
index fc93d7a..b54a6f7 100644
--- a/inc/storage.h
+++ b/inc/storage.h
@@ -20,7 +20,7 @@ class Storage
* @param the address to write to.
* @return a status code reflecting the state of the request.
*/
- virtual Response write(Accessor accessor, signed int data, int address) = 0;
+ virtual Response write_word(Accessor accessor, signed int data, int address) = 0;
/**
* Write a data line to given address in this level of storage
@@ -35,7 +35,7 @@ class Storage
* @return a status code reflecting the state of the request, and the
* data being returned.
*/
- virtual Response read(
+ virtual Response read_line(
Accessor accessor,
int address,
std::array<signed int, LINE_SIZE> &data) = 0;