summaryrefslogtreecommitdiff
path: root/cpu/pc_event.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-10-13 17:24:27 -0400
committerNathan Binkert <binkertn@umich.edu>2003-10-13 17:24:27 -0400
commitf94ff9ace556d9aa1ac9d00b8b1dbc73e161d213 (patch)
tree353724806826d4faa7ad8c6b6b9f0ab658936dbb /cpu/pc_event.cc
parent2471c214bf85b1c0342f222a1a85ace110d76d16 (diff)
downloadgem5-f94ff9ace556d9aa1ac9d00b8b1dbc73e161d213.tar.xz
Split up kernel.cc into separate files for dump_mbuf and printf
cpu/exec_context.hh: dev/alpha_console.cc: sim/system.cc: sim/system.hh: Convert from fixed array to a vector arch/alpha/arguments.hh: now that CopyData and CopyString are in vtophys.hh, this include is not necessary arch/alpha/vtophys.hh: Include isa_traits.hh for Addr cpu/pc_event.cc: Temporarily get this working while we're changing things --HG-- extra : convert_revision : 9a7597b7bd5d050819766f8edf7a02f28447b9ca
Diffstat (limited to 'cpu/pc_event.cc')
-rw-r--r--cpu/pc_event.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpu/pc_event.cc b/cpu/pc_event.cc
index a275c2c41..7b72f5c08 100644
--- a/cpu/pc_event.cc
+++ b/cpu/pc_event.cc
@@ -40,7 +40,6 @@
#ifdef FULL_SYSTEM
#include "targetarch/arguments.hh"
#include "targetarch/pmap.h"
-#include "kern/tru64/kernel.hh"
#include "mem/functional_mem/memory_control.hh"
#include "cpu/full_cpu/cpu.hh"
#include "sim/system.hh"
@@ -163,6 +162,9 @@ BadAddrEvent::process(ExecContext *xc)
DPRINTF(BADADDR, "badaddr arg=%#x good\n", a0);
}
+void Printf(AlphaArguments args);
+void DumpMbuf(AlphaArguments args);
+
void
PrintfEvent::process(ExecContext *xc)
{
@@ -170,7 +172,7 @@ PrintfEvent::process(ExecContext *xc)
DebugOut() << curTick << ": " << xc->cpu->name() << ": ";
AlphaArguments args(xc);
- Kernel::Printf(args);
+ Printf(args);
}
}
@@ -182,7 +184,7 @@ DebugPrintfEvent::process(ExecContext *xc)
DebugOut() << curTick << ": " << xc->cpu->name() << ": ";
AlphaArguments args(xc);
- Kernel::Printf(args);
+ Printf(args);
}
}
@@ -191,7 +193,7 @@ DumpMbufEvent::process(ExecContext *xc)
{
if (DTRACE(DebugPrintf)) {
AlphaArguments args(xc);
- Kernel::DumpMbuf(args);
+ DumpMbuf(args);
}
}
#endif