System: set kernel to null, if unspecified.
authorNilay Vaish <nilay@cs.wisc.edu>
Wed, 8 Aug 2012 18:40:32 +0000 (13:40 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Wed, 8 Aug 2012 18:40:32 +0000 (13:40 -0500)
src/sim/system.cc

index 20fcbd948734a6ca8d57939ab48f05876df44afd..8ff1de4453ed970b8dc4acda1313dc2551d40333 100644 (file)
@@ -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);