summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-11-14 04:55:30 -0800
committerNathan Binkert <nate@binkert.org>2008-11-14 04:55:30 -0800
commit5711282f87afb609c79d657ed6aa8c9259b5b827 (patch)
tree399daee55331d1a8b0664a4a7d7d493f3b027708 /src/mem/request.hh
parent7a4d75bae31cfe2064fe0718c7f982f769659b3c (diff)
downloadgem5-5711282f87afb609c79d657ed6aa8c9259b5b827.tar.xz
Fix a bunch of bugs I introduced when I changed the flags stuff for packets.
I did some of the flags and assertions wrong. Thanks to Brad Beckmann for pointing this out. I should have run the opt regressions instead of the fast. I also screwed up some of the logical functions in the Flags class.
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r--src/mem/request.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index 007c33acf..c7cadaa03 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -53,6 +53,8 @@ typedef Request* RequestPtr;
class Request : public FastAlloc
{
+ friend class Packet;
+
public:
typedef uint32_t FlagsType;
typedef ::Flags<FlagsType> Flags;
@@ -455,8 +457,6 @@ class Request : public FastAlloc
return false;
}
-
- friend class Packet;
};
#endif // __MEM_REQUEST_HH__