From 0ea794bcf453093f83c21a56333d78ba1b8dae33 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 8 Nov 2010 13:58:22 -0600 Subject: sim: Use forward declarations for ports. Virtual ports need TLB data which means anything touching a file in the arch directory rebuilds any file that includes system.hh which in everything. --- src/arch/arm/linux/system.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/arch/arm/linux') diff --git a/src/arch/arm/linux/system.cc b/src/arch/arm/linux/system.cc index 40658976b..ddf7f19f3 100644 --- a/src/arch/arm/linux/system.cc +++ b/src/arch/arm/linux/system.cc @@ -43,8 +43,10 @@ #include "arch/arm/isa_traits.hh" #include "arch/arm/linux/atag.hh" #include "arch/arm/linux/system.hh" +#include "arch/arm/utility.hh" #include "base/loader/object_file.hh" #include "base/loader/symtab.hh" +#include "cpu/thread_context.hh" #include "mem/physical.hh" using namespace ArmISA; @@ -87,7 +89,7 @@ LinuxArmSystem::LinuxArmSystem(Params *p) DPRINTF(Loader, "Boot atags was %d bytes in total\n", size << 2); DDUMP(Loader, boot_data, size << 2); - functionalPort.writeBlob(ParamsList, boot_data, size << 2); + functionalPort->writeBlob(ParamsList, boot_data, size << 2); #ifndef NDEBUG kernelPanicEvent = addKernelFuncEvent("panic"); -- cgit v1.2.3