summaryrefslogtreecommitdiff
path: root/src/dev/arm/amba_device.cc
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-02-11 18:29:36 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2011-02-11 18:29:36 -0600
commitd4df9e763ce9cb540af9d5bd59498833dfa1726e (patch)
tree4f2af46efffc5d18244fc48b453d5590302ceb46 /src/dev/arm/amba_device.cc
parentd33c1d95929356682fb06083d1da2d66605649f4 (diff)
downloadgem5-d4df9e763ce9cb540af9d5bd59498833dfa1726e.tar.xz
VNC/ARM: Use VNC server and add support to boot into X11
Diffstat (limited to 'src/dev/arm/amba_device.cc')
-rw-r--r--src/dev/arm/amba_device.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dev/arm/amba_device.cc b/src/dev/arm/amba_device.cc
index e5d53d6a3..37eb77ae1 100644
--- a/src/dev/arm/amba_device.cc
+++ b/src/dev/arm/amba_device.cc
@@ -47,11 +47,19 @@
#include "mem/packet_access.hh"
const uint64_t AmbaVendor = ULL(0xb105f00d00000000);
+
AmbaDevice::AmbaDevice(const Params *p)
: BasicPioDevice(p), ambaId(AmbaVendor | p->amba_id)
{
}
+AmbaIntDevice::AmbaIntDevice(const Params *p)
+ : AmbaDevice(p), intNum(p->int_num), gic(p->gic), intDelay(p->int_delay)
+{
+}
+
+
+
AmbaDmaDevice::AmbaDmaDevice(const Params *p)
: DmaDevice(p), ambaId(AmbaVendor | p->amba_id),
pioAddr(p->pio_addr), pioSize(0),