summaryrefslogtreecommitdiff
path: root/src/dev/arm/RealView.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/RealView.py')
-rw-r--r--src/dev/arm/RealView.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 2d5ccc3f9..5365ac9de 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -141,6 +141,16 @@ class GenericTimer(SimObject):
int_phys = Param.UInt32("Physical timer interrupt number")
int_virt = Param.UInt32("Virtual timer interrupt number")
+class GenericTimerMem(PioDevice):
+ type = 'GenericTimerMem'
+ cxx_header = "dev/arm/generic_timer.hh"
+ gic = Param.BaseGic(Parent.any, "GIC to use for interrupting")
+
+ base = Param.Addr(0, "Base address")
+
+ int_phys = Param.UInt32("Interrupt number")
+ int_virt = Param.UInt32("Interrupt number")
+
class PL031(AmbaIntDevice):
type = 'PL031'
cxx_header = "dev/arm/rtc_pl031.hh"