dev: Output invalid access size in IsaFake panic
This commit is contained in:
parent
b7f1d675da
commit
4836aef1e4
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ IsaFake::write(PacketPtr pkt)
|
||||||
data = pkt->get<uint8_t>();
|
data = pkt->get<uint8_t>();
|
||||||
break;
|
break;
|
||||||
default:
|
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",
|
warn("Device %s accessed by write to address %#x size=%d data=%#x\n",
|
||||||
name(), pkt->getAddr(), pkt->getSize(), data);
|
name(), pkt->getAddr(), pkt->getSize(), data);
|
||||||
|
|
Loading…
Reference in a new issue