summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-05-17 22:08:44 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-05-17 22:08:44 -0400
commit935ba67b4fbe595c0496e0230e39cd8ed87b7543 (patch)
tree7ca8a6e950915cb553ae8a57e47ec380bafe0dc5 /dev
parent5da14ec60af9f6f9153963eef057257be9be8a62 (diff)
downloadgem5-935ba67b4fbe595c0496e0230e39cd8ed87b7543.tar.xz
Get basic full-system working with AtomicSimpleCPU.
SConscript: Comment out sinic for now... needs to be fixed to compile under newmem. configs/test/SysPaths.py: Fix paths. configs/test/fs.py: SimpleCPU -> AtomicSimpleCPU Fix vmlinux path cpu/simple/atomic.cc: Fix suspendContext() so quiesce works. Don't forget to checkForInterrupts(). cpu/simple/base.cc: Minor fix to interrupt check code. dev/ide_disk.hh: Don't declare regStats() in header since it's not in .cc file anymore (will need to add it back in when stats are added back). dev/io_device.cc: Set packet dest to Packet::Broadcast. dev/pciconfigall.cc: Set PCI config packet result to Success. python/m5/objects/Root.py: Add debug object to Root so things like break_cycles can be set from command line. --HG-- extra : convert_revision : aa1c652fe589784e753e13ad9acb0cd5f3b6eafb
Diffstat (limited to 'dev')
-rw-r--r--dev/ide_disk.hh6
-rw-r--r--dev/io_device.cc3
-rw-r--r--dev/pciconfigall.cc1
3 files changed, 2 insertions, 8 deletions
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/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;
}