From f94ff9ace556d9aa1ac9d00b8b1dbc73e161d213 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 13 Oct 2003 17:24:27 -0400 Subject: 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 --- cpu/pc_event.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cpu/pc_event.cc') 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 -- cgit v1.2.3