projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better debugging of DMA operations
[gem5.git]
/
dev
/
tsunami.cc
diff --git
a/dev/tsunami.cc
b/dev/tsunami.cc
index 8956ee557f8a2ee96cb4077c50d0046938558127..c44da69b7f134a52ef7b14988bfbe0f5f3dbe0e7 100644
(file)
--- a/
dev/tsunami.cc
+++ b/
dev/tsunami.cc
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 200
3
The Regents of The University of Michigan
+ * Copyright (c) 200
4
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-31,7
+31,7
@@
#include <vector>
#include "cpu/intr_control.hh"
#include <vector>
#include "cpu/intr_control.hh"
-#include "dev/console.hh"
+#include "dev/
sim
console.hh"
#include "dev/etherdev.hh"
#include "dev/ide_ctrl.hh"
#include "dev/tlaser_clock.hh"
#include "dev/etherdev.hh"
#include "dev/ide_ctrl.hh"
#include "dev/tlaser_clock.hh"
@@
-56,6
+56,12
@@
Tsunami::Tsunami(const string &name, System *s,
intr_sum_type[i] = 0;
}
intr_sum_type[i] = 0;
}
+Tick
+Tsunami::intrFrequency()
+{
+ return io->frequency();
+}
+
void
Tsunami::postConsoleInt()
{
void
Tsunami::postConsoleInt()
{