diff options
author | William Wang <William.Wang@arm.com> | 2010-11-15 14:04:03 -0600 |
---|---|---|
committer | William Wang <William.Wang@arm.com> | 2010-11-15 14:04:03 -0600 |
commit | fc1eeafc94b3bab13ffbfd85e0c255f3459355fa (patch) | |
tree | 0555eb8dbb5f0bc345454fc7eacb457552c01316 /src/dev/arm/amba_device.hh | |
parent | 80db6a5ecb1ab836ca0d224ba2e88dd341dc2749 (diff) | |
download | gem5-fc1eeafc94b3bab13ffbfd85e0c255f3459355fa.tar.xz |
ARM: Implement a CLCD Frame buffer
Diffstat (limited to 'src/dev/arm/amba_device.hh')
-rw-r--r-- | src/dev/arm/amba_device.hh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/dev/arm/amba_device.hh b/src/dev/arm/amba_device.hh index 679202c84..1782fb003 100644 --- a/src/dev/arm/amba_device.hh +++ b/src/dev/arm/amba_device.hh @@ -46,13 +46,14 @@ * Implementer ID calls. */ -#ifndef __DEV_ARM_AMBA_DEVICE_H__ -#define __DEV_ARM_AMBA_DEVICE_H__ +#ifndef __DEV_ARM_AMBA_DEVICE_HH__ +#define __DEV_ARM_AMBA_DEVICE_HH__ #include "base/range.hh" +#include "dev/io_device.hh" +#include "dev/arm/gic.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" -#include "dev/io_device.hh" #include "params/AmbaDevice.hh" #include "params/AmbaDmaDevice.hh" @@ -84,6 +85,11 @@ class AmbaDmaDevice : public DmaDevice { protected: uint64_t ambaId; + Addr pioAddr; + Addr pioSize; + Tick pioDelay; + int intNum; + Gic *gic; public: typedef AmbaDmaDeviceParams Params; @@ -91,4 +97,4 @@ class AmbaDmaDevice : public DmaDevice }; -#endif //__DEV_ARM_AMBA_DEVICE_H__ +#endif //__DEV_ARM_AMBA_DEVICE_HH__ |