diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-12-15 00:47:01 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-12-15 00:47:01 -0800 |
commit | f0d1a209716215e86a2a8f147dc1be5f6e077840 (patch) | |
tree | e9d9f661e8be8ede386ee902eb68350a3aca5561 | |
parent | 13f7fdcf67f9ed893a575e78ef170b42eda58ef4 (diff) | |
download | gem5-f0d1a209716215e86a2a8f147dc1be5f6e077840.tar.xz |
PCI: Add some missing breaks to a couple case statements.
-rw-r--r-- | src/dev/pcidev.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dev/pcidev.cc b/src/dev/pcidev.cc index e1dd7e553..56b8cd3c8 100644 --- a/src/dev/pcidev.cc +++ b/src/dev/pcidev.cc @@ -216,8 +216,10 @@ PciDev::writeConfig(PacketPtr pkt) switch (offset) { case PCI0_INTERRUPT_LINE: config.interruptLine = pkt->get<uint8_t>(); + break; case PCI_CACHE_LINE_SIZE: config.cacheLineSize = pkt->get<uint8_t>(); + break; case PCI_LATENCY_TIMER: config.latencyTimer = pkt->get<uint8_t>(); break; @@ -240,8 +242,10 @@ PciDev::writeConfig(PacketPtr pkt) switch (offset) { case PCI_COMMAND: config.command = pkt->get<uint8_t>(); + break; case PCI_STATUS: config.status = pkt->get<uint8_t>(); + break; case PCI_CACHE_LINE_SIZE: config.cacheLineSize = pkt->get<uint8_t>(); break; |