summaryrefslogtreecommitdiff
path: root/inc/cache.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-14 23:40:25 -0400
committerbd <bdunahu@operationnull.com>2025-04-14 23:40:25 -0400
commita7620015acc2401165b4587cbb6c9a118d944493 (patch)
tree5bbe698fe42a7d32578df6170e464508a78a8e50 /inc/cache.h
parent2140a23041d3920e001457f2c2acb0853094963d (diff)
Add preprocess method to storage, removing nearly all duplication
Diffstat (limited to 'inc/cache.h')
-rw-r--r--inc/cache.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/inc/cache.h b/inc/cache.h
index 3177f59..7409c02 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -44,15 +44,7 @@ nn * Constructor.
int read_word(void *, int, signed int &) override;
private:
- /**
- * Helper for all access methods.
- * Calls `request_handler` when `id` is allowed to complete its
- * request cycle.
- * @param the source making the request
- * @param the address to write to
- * @param the function to call when an access should be completed
- */
- int process(void *id, int address, std::function<void(int index, int offset)> request_handler);
+ int process(void *id, int address, std::function<void(int index, int offset)> request_handler) override;
/**
* Helper for process.
* Fetches `address` from a lower level of storage if it is not already