summaryrefslogtreecommitdiff
path: root/inc/if.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-26 12:21:52 -0400
committerbd <bdunahu@operationnull.com>2025-03-26 12:21:52 -0400
commitb81c86b438123457be86af2e7c24375856afa742 (patch)
tree74f271585bce27de2434d8cd826fee09f6a71738 /inc/if.h
parent9eeea1ab8bf4eb17e5da46d57a6c1d455a0a262e (diff)
Add fetch stage implementation, tests, program loading, DTO object
Diffstat (limited to 'inc/if.h')
-rw-r--r--inc/if.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/inc/if.h b/inc/if.h
index d9599dd..437fa8d 100644
--- a/inc/if.h
+++ b/inc/if.h
@@ -1,5 +1,6 @@
#ifndef IF_H
#define IF_H
+#include "instrDTO.h"
#include "response.h"
#include "stage.h"
@@ -8,7 +9,13 @@ class IF : public Stage
public:
using Stage::Stage;
- Response advance();
+ Response advance(InstrDTO &i) override;
+
+ private:
+ /**
+ * The name this pipeline stages uses to access storage.
+ */
+ const Accessor id = FETCH;
};
#endif /* IF_H_INCLUDED */