diff options
Diffstat (limited to 'dev')
-rw-r--r-- | dev/alpha_console.cc | 1 | ||||
-rw-r--r-- | dev/disk_image.cc | 1 | ||||
-rw-r--r-- | dev/ide_disk.hh | 6 | ||||
-rw-r--r-- | dev/io_device.cc | 3 | ||||
-rw-r--r-- | dev/ns_gige.cc | 1 | ||||
-rw-r--r-- | dev/pciconfigall.cc | 1 | ||||
-rw-r--r-- | dev/pcidev.cc | 1 | ||||
-rw-r--r-- | dev/sinic.cc | 1 |
8 files changed, 2 insertions, 13 deletions
diff --git a/dev/alpha_console.cc b/dev/alpha_console.cc index 2e46f7be1..8cae10d2a 100644 --- a/dev/alpha_console.cc +++ b/dev/alpha_console.cc @@ -31,7 +31,6 @@ */ #include <cstddef> -#include <cstdio> #include <string> #include "arch/alpha/system.hh" diff --git a/dev/disk_image.cc b/dev/disk_image.cc index 447c54697..185a8b083 100644 --- a/dev/disk_image.cc +++ b/dev/disk_image.cc @@ -35,7 +35,6 @@ #include <errno.h> #include <unistd.h> -#include <cstdio> #include <cstring> #include <fstream> #include <string> diff --git a/dev/ide_disk.hh b/dev/ide_disk.hh index 891c462b5..2d04ecd09 100644 --- a/dev/ide_disk.hh +++ b/dev/ide_disk.hh @@ -260,12 +260,6 @@ class IdeDisk : public SimObject void reset(int id); /** - * Register statistics. - */ - void regStats(); - - - /** * Set the controller for this device * @param c The IDE controller */ diff --git a/dev/io_device.cc b/dev/io_device.cc index 24f33d84d..aa411d132 100644 --- a/dev/io_device.cc +++ b/dev/io_device.cc @@ -160,8 +160,7 @@ DmaPort::dmaAction(Command cmd, Addr addr, int size, Event *event, basePkt.flags = 0; basePkt.coherence = NULL; basePkt.senderState = NULL; - basePkt.src = 0; - basePkt.dest = 0; + basePkt.dest = Packet::Broadcast; basePkt.cmd = cmd; basePkt.result = Unknown; basePkt.req = NULL; diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc index a2e224ed0..82b14388c 100644 --- a/dev/ns_gige.cc +++ b/dev/ns_gige.cc @@ -30,7 +30,6 @@ * Device module for modelling the National Semiconductor * DP83820 ethernet controller. Does not support priority queueing */ -#include <cstdio> #include <deque> #include <string> diff --git a/dev/pciconfigall.cc b/dev/pciconfigall.cc index dfb1d48f6..a8c742b07 100644 --- a/dev/pciconfigall.cc +++ b/dev/pciconfigall.cc @@ -165,6 +165,7 @@ PciConfigAll::write(Packet &pkt) default: panic("invalid pci config write size\n"); } + pkt.result = Success; return pioDelay; } diff --git a/dev/pcidev.cc b/dev/pcidev.cc index c40ef62e4..76392ccfe 100644 --- a/dev/pcidev.cc +++ b/dev/pcidev.cc @@ -31,7 +31,6 @@ */ #include <list> -#include <sstream> #include <string> #include <vector> diff --git a/dev/sinic.cc b/dev/sinic.cc index bc6891f56..f621c1b44 100644 --- a/dev/sinic.cc +++ b/dev/sinic.cc @@ -26,7 +26,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <cstdio> #include <deque> #include <limits> #include <string> |