projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50812a2
)
mem: Assert that the responderHadWritable is set only once
author
Nikos Nikoleris
<nikos.nikoleris@arm.com>
Mon, 5 Dec 2016 21:48:24 +0000
(16:48 -0500)
committer
Nikos Nikoleris
<nikos.nikoleris@arm.com>
Mon, 5 Dec 2016 21:48:24 +0000
(16:48 -0500)
Change-Id: Ie3beeef25331f84a0a5bcc17f7a791f4a829695b
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Reviewed-by: Stephan Diestelhorst <stephan.diestelhorst@arm.com>
src/mem/packet.hh
patch
|
blob
|
history
diff --git
a/src/mem/packet.hh
b/src/mem/packet.hh
index b6a0e7c7d8afbbd7931d4e14cf4560fc5ced61f1..74a2de1353cbaeedebfcd3b7bacfd257e2f8eae6 100644
(file)
--- a/
src/mem/packet.hh
+++ b/
src/mem/packet.hh
@@
-612,6
+612,7
@@
class Packet : public Printable
void setResponderHadWritable()
{
assert(cacheResponding());
+ assert(!responderHadWritable());
flags.set(RESPONDER_HAD_WRITABLE);
}
bool responderHadWritable() const