summaryrefslogtreecommitdiff
path: root/src/response.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-11 21:22:18 -0400
committerbd <bdunahu@operationnull.com>2025-04-11 21:22:18 -0400
commit1fb7a9bd5eb41e87871bcbb3423caaabdd8ce1d9 (patch)
tree08549aa6c7cbae114958df62f92c9e60eb5f114c /src/response.cc
parent101f0facf8002907ca6e19faabfdcf472c0c3152 (diff)
First part of storage rework (see description)
- Removed response enum. - Removed messy ostream override, and cli.cc test class - Removed accessor enum, and instead used unique pointer to identify accessor. - Simplified storage by removing is_waiting variables. - Rewrote DRAM and Cache to use Storage constructor.
Diffstat (limited to 'src/response.cc')
-rw-r--r--src/response.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/response.cc b/src/response.cc
deleted file mode 100644
index 3d6e439..0000000
--- a/src/response.cc
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "response.h"
-#include <iostream>
-
-std::ostream &operator<<(std::ostream &os, Response r)
-{
- const std::string nameR[] = {"OK", "WAIT", "BLOCKED", "STALLED"};
- return os << nameR[r];
-}