summaryrefslogtreecommitdiff
path: root/src/arch/arm/system.cc
diff options
context:
space:
mode:
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;
}