summaryrefslogtreecommitdiff
path: root/sim/system.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-10-13 17:24:27 -0400
committerNathan Binkert <binkertn@umich.edu>2003-10-13 17:24:27 -0400
commitf94ff9ace556d9aa1ac9d00b8b1dbc73e161d213 (patch)
tree353724806826d4faa7ad8c6b6b9f0ab658936dbb /sim/system.hh
parent2471c214bf85b1c0342f222a1a85ace110d76d16 (diff)
downloadgem5-f94ff9ace556d9aa1ac9d00b8b1dbc73e161d213.tar.xz
Split up kernel.cc into separate files for dump_mbuf and printf
cpu/exec_context.hh: dev/alpha_console.cc: sim/system.cc: sim/system.hh: Convert from fixed array to a vector arch/alpha/arguments.hh: now that CopyData and CopyString are in vtophys.hh, this include is not necessary arch/alpha/vtophys.hh: Include isa_traits.hh for Addr cpu/pc_event.cc: Temporarily get this working while we're changing things --HG-- extra : convert_revision : 9a7597b7bd5d050819766f8edf7a02f28447b9ca
Diffstat (limited to 'sim/system.hh')
-rw-r--r--sim/system.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/system.hh b/sim/system.hh
index 830e78f4a..3ab514bfa 100644
--- a/sim/system.hh
+++ b/sim/system.hh
@@ -30,6 +30,7 @@
#define __SYSTEM_HH__
#include <string>
+#include <vector>
#include "sim/sim_object.hh"
#include "cpu/pc_event.hh"
@@ -72,8 +73,7 @@ class System : public SimObject
PCEventQueue pcEventQueue;
- ExecContext *xc_array[12/*MAX_CPUS*/];
- int num_cpus;
+ std::vector<ExecContext *> xcvec;
RemoteGDB *remoteGDB;
GDBListener *gdbListen;