diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-08-22 16:08:18 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-08-22 16:08:18 -0400 |
commit | 9f18764441831b08b8700a8895ae7316f0ed7508 (patch) | |
tree | 49cc780c401a97a1b2c23172db8fd252b726aec0 /src/mem/packet.hh | |
parent | 3a45e9b8cbbe0b3ec69ebd14385fc1b0caa5a08d (diff) | |
download | gem5-9f18764441831b08b8700a8895ae7316f0ed7508.tar.xz |
Commiting a version of the multi-phase snoop atomic bus so people can see the framework. Doesn't work, but also doesn't break uni-processor systems.
Working on pulling out the changes in the cache so that it remains working.
src/mem/bus.cc:
Changes for multi-phase snoop
Some code for registering snoop ranges (a version that compiles and runs, but does nothing)
src/mem/bus.hh:
Changes for multi-phase snoop
src/mem/packet.hh:
Flag for multi-phase snoop
src/mem/port.hh:
Status for multi-phase snoop
--HG--
extra : convert_revision : 4c2e5263bba16e3bcf03aabe36ff45ec36de4720
Diffstat (limited to 'src/mem/packet.hh')
-rw-r--r-- | src/mem/packet.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh index 5d8308df7..c7d28010c 100644 --- a/src/mem/packet.hh +++ b/src/mem/packet.hh @@ -56,6 +56,7 @@ typedef std::list<PacketPtr> PacketList; #define CACHE_LINE_FILL 1 << 3 #define COMPRESSED 1 << 4 #define NO_ALLOCATE 1 << 5 +#define SNOOP_COMMIT 1 << 6 //For statistics we need max number of commands, hard code it at //20 for now. @todo fix later |