diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-08-25 19:10:43 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-08-25 19:10:43 -0500 |
commit | c0b54f579ccccd805ccc1f0b2c41b0b10899eecd (patch) | |
tree | 468355a62988a12682596237da5a9f9bc598dcd4 /src/arch/arm/system.cc | |
parent | e1168e72ca8ae370a1989220a202347980c6a4d2 (diff) | |
download | gem5-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.cc | 5 |
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; } |