#ifndef __MEM_PACKET_HH__
#define __MEM_PACKET_HH__
+
+/** List of all commands associated with a packet. */
+enum Command
+{
+ Read,
+ Write
+};
+
+/** The result of a particular pakets request. */
+enum PacketResult
+{
+ Success,
+ BadAddress
+};
+
/**
* A Packet is the structure to handle requests between two levels
* of the memory system. The Request is a global object that trancends
#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