summaryrefslogtreecommitdiff
path: root/src/sim/system.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2009-01-30 20:04:17 -0500
committerAli Saidi <saidi@eecs.umich.edu>2009-01-30 20:04:17 -0500
commite7293dd24eb15ce568ffbb2f6aa8ae60f88472b1 (patch)
tree422a136fb93c2b2e31ef2b5a44981578da2f290a /src/sim/system.cc
parentf4291aac256622546a5a51dce109599007f5b3cb (diff)
downloadgem5-e7293dd24eb15ce568ffbb2f6aa8ae60f88472b1.tar.xz
Errors: Use the correct panic/warn/fatal/info message in some places.
Diffstat (limited to 'src/sim/system.cc')
-rw-r--r--src/sim/system.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc
index 864b0fdc7..d16524c41 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -95,12 +95,12 @@ System::System(Params *p)
* Load the kernel code into memory
*/
if (params()->kernel == "") {
- warn("No kernel set for full system simulation. Assuming you know what"
+ inform("No kernel set for full system simulation. Assuming you know what"
" you're doing...\n");
} else {
// Load kernel code
kernel = createObjectFile(params()->kernel);
- warn("kernel located at: %s", params()->kernel);
+ inform("kernel located at: %s", params()->kernel);
if (kernel == NULL)
fatal("Could not load kernel file %s", params()->kernel);
@@ -115,16 +115,16 @@ System::System(Params *p)
// load symbols
if (!kernel->loadGlobalSymbols(kernelSymtab))
- panic("could not load kernel symbols\n");
+ fatal("could not load kernel symbols\n");
if (!kernel->loadLocalSymbols(kernelSymtab))
- panic("could not load kernel local symbols\n");
+ fatal("could not load kernel local symbols\n");
if (!kernel->loadGlobalSymbols(debugSymbolTable))
- panic("could not load kernel symbols\n");
+ fatal("could not load kernel symbols\n");
if (!kernel->loadLocalSymbols(debugSymbolTable))
- panic("could not load kernel local symbols\n");
+ fatal("could not load kernel local symbols\n");
DPRINTF(Loader, "Kernel start = %#x\n", kernelStart);
DPRINTF(Loader, "Kernel end = %#x\n", kernelEnd);
@@ -184,7 +184,7 @@ System::registerThreadContext(ThreadContext *tc, int assigned)
}
if (threadContexts[id])
- panic("Cannot have two CPUs with the same id (%d)\n", id);
+ fatal("Cannot have two CPUs with the same id (%d)\n", id);
threadContexts[id] = tc;
_numContexts++;