summaryrefslogtreecommitdiff
path: root/inc/cache.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-14 23:10:18 -0400
committerbd <bdunahu@operationnull.com>2025-04-14 23:10:18 -0400
commit661ba30d5233e1b95ac312e88cd51380e664933b (patch)
treebc9bba3e3e87025eebf86e6b5013485088cf0ccf /inc/cache.h
parent432e6f63ab4742ebf34ba7d031e269af810aa93f (diff)
Initial refactor of is_access_cleared
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 325d46f..3177f59 100644
--- a/inc/cache.h
+++ b/inc/cache.h
@@ -54,15 +54,7 @@ nn * Constructor.
*/
int process(void *id, int address, std::function<void(int index, int offset)> request_handler);
/**
- * Returns OK if `id` is allowed to complete its request this cycle.
- * Handles cache misses, wait times, and setting the current id this
- * storage is serving.
- * @param the id asking for a resource
- * @return 1 if the access can be carried out this function call, 0 otherwise.
- */
- int is_access_cleared(void *id, int address);
- /**
- * Helper for is_access_cleared.
+ * Helper for process.
* Fetches `address` from a lower level of storage if it is not already
* present. The victim line is chosen/written back.
* @param the address that must be present in cache.