summaryrefslogtreecommitdiff
path: root/mem/port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'mem/port.hh')
-rw-r--r--mem/port.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/mem/port.hh b/mem/port.hh
index 03f4abac0..05a2c59ff 100644
--- a/mem/port.hh
+++ b/mem/port.hh
@@ -46,6 +46,14 @@
#include "mem/packet.hh"
#include "mem/request.hh"
+/** The immediate result of a Send call. Can be used to determine if a fast path
+ access can occur, or if a retry may come. */
+enum SendResult
+{
+ Success,
+ Failure
+};
+
/**
* Ports are used to interface memory objects to
* each other. They will always come in pairs, and we refer to the other