diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-08-08 13:40:32 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-08-08 13:40:32 -0500 |
commit | 706e84f2b8553baba020560f4a83550f05b80630 (patch) | |
tree | 89b3ea9fdcbff00b3f9a24dbeb5537cdc40347ca /src/sim/system.cc | |
parent | 7cef6b9befea7e4cc4138eb1b01d45dd777bd72f (diff) | |
download | gem5-706e84f2b8553baba020560f4a83550f05b80630.tar.xz |
System: set kernel to null, if unspecified.
Diffstat (limited to 'src/sim/system.cc')
-rw-r--r-- | src/sim/system.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc index 20fcbd948..8ff1de445 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -111,7 +111,9 @@ System::System(Params *p) if (FullSystem) { if (params()->kernel == "") { inform("No kernel set for full system simulation. " - "Assuming you know what you're doing if not SPARC ISA\n"); + "Assuming you know what you're doing\n"); + + kernel = NULL; } else { // Get the kernel code kernel = createObjectFile(params()->kernel); |