summaryrefslogtreecommitdiff
path: root/src/arch/arm/system.cc
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-08-25 19:10:43 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2010-08-25 19:10:43 -0500
commitc0b54f579ccccd805ccc1f0b2c41b0b10899eecd (patch)
tree468355a62988a12682596237da5a9f9bc598dcd4 /src/arch/arm/system.cc
parente1168e72ca8ae370a1989220a202347980c6a4d2 (diff)
downloadgem5-c0b54f579ccccd805ccc1f0b2c41b0b10899eecd.tar.xz
ARM: Limited implementation of dprintk.
Does not work with vfp arguments or arguments passed on the stack.
Diffstat (limited to 'src/arch/arm/system.cc')
-rw-r--r--src/arch/arm/system.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/arm/system.cc b/src/arch/arm/system.cc
index ba973ea17..756f64eb7 100644
--- a/src/arch/arm/system.cc
+++ b/src/arch/arm/system.cc
@@ -41,17 +41,22 @@
*/
#include "arch/arm/system.hh"
+#include <iostream>
+using namespace std;
using namespace ArmISA;
+using namespace Linux;
ArmSystem::ArmSystem(Params *p)
: System(p)
{
+ debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk");
}
ArmSystem::~ArmSystem()
{
+ delete debugPrintkEvent;
}