projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f1d67
)
dev: Output invalid access size in IsaFake panic
author
Curtis Dunham
<Curtis.Dunham@arm.com>
Sat, 27 Sep 2014 13:08:33 +0000
(09:08 -0400)
committer
Curtis Dunham
<Curtis.Dunham@arm.com>
Sat, 27 Sep 2014 13:08:33 +0000
(09:08 -0400)
src/dev/isa_fake.cc
patch
|
blob
|
history
diff --git
a/src/dev/isa_fake.cc
b/src/dev/isa_fake.cc
index 81c7a4dcdcb35feae87a78749fca66303993c7f4..235dc3098c864c8fc3366cd69a091fc91aba201a 100644
(file)
--- a/
src/dev/isa_fake.cc
+++ b/
src/dev/isa_fake.cc
@@
-110,7
+110,7
@@
IsaFake::write(PacketPtr pkt)
data = pkt->get<uint8_t>();
break;
default:
- panic("invalid access size
!\n"
);
+ panic("invalid access size
: %u\n", pkt->getSize()
);
}
warn("Device %s accessed by write to address %#x size=%d data=%#x\n",
name(), pkt->getAddr(), pkt->getSize(), data);