From: Nilay Vaish Date: Wed, 8 Aug 2012 18:40:32 +0000 (-0500) Subject: System: set kernel to null, if unspecified. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=706e84f2b8553baba020560f4a83550f05b80630;p=gem5.git System: set kernel to null, if unspecified. --- 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);