System: set kernel to null, if unspecified.

This commit is contained in:
Nilay Vaish 2012-08-08 13:40:32 -05:00
parent 7cef6b9bef
commit 706e84f2b8

View 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);