diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2017-01-27 20:16:23 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-04-03 16:51:46 +0000 |
commit | bbdd34d62863d2cc870568890dac0eb0f8be358c (patch) | |
tree | b5c346ed951f5719e13f5546fa22c59fa2b78eab /src/dev/arm/gic_pl390.hh | |
parent | 3384caf0fe7fb4c33b5393840f1f447965b7d9ac (diff) | |
download | gem5-bbdd34d62863d2cc870568890dac0eb0f8be358c.tar.xz |
arm: refactor packet processing in Pl390 GIC
Change-Id: I696703418506522ba90df5c2c4ca45c95a6efbea
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2441
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Weiping Liao <weipingliao@google.com>
Diffstat (limited to 'src/dev/arm/gic_pl390.hh')
-rw-r--r-- | src/dev/arm/gic_pl390.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev/arm/gic_pl390.hh b/src/dev/arm/gic_pl390.hh index 1a5248d92..aa3f3c084 100644 --- a/src/dev/arm/gic_pl390.hh +++ b/src/dev/arm/gic_pl390.hh @@ -393,21 +393,26 @@ class Pl390 : public BaseGic * @param pkt packet to respond to */ Tick readDistributor(PacketPtr pkt); + uint32_t readDistributor(ContextID ctx, Addr daddr, size_t resp_sz); /** Handle a read to the cpu portion of the GIC * @param pkt packet to respond to */ Tick readCpu(PacketPtr pkt); + uint32_t readCpu(ContextID ctx, Addr daddr); /** Handle a write to the distributor portion of the GIC * @param pkt packet to respond to */ Tick writeDistributor(PacketPtr pkt); + void writeDistributor(ContextID ctx, Addr daddr, uint32_t data, + size_t data_sz); /** Handle a write to the cpu portion of the GIC * @param pkt packet to respond to */ Tick writeCpu(PacketPtr pkt); + void writeCpu(ContextID ctx, Addr daddr, uint32_t data); }; #endif //__DEV_ARM_GIC_H__ |