hdlcd.hh (11090:f37a6b82f98f) hdlcd.hh (11091:62e1504b9c64)
1/*
2 * Copyright (c) 2010-2013, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 81 unchanged lines hidden (view full) ---

90class HDLcdPixelPump;
91
92class HDLcd: public AmbaDmaDevice
93{
94 public:
95 HDLcd(const HDLcdParams *p);
96 ~HDLcd();
97
1/*
2 * Copyright (c) 2010-2013, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 81 unchanged lines hidden (view full) ---

90class HDLcdPixelPump;
91
92class HDLcd: public AmbaDmaDevice
93{
94 public:
95 HDLcd(const HDLcdParams *p);
96 ~HDLcd();
97
98 void regStats() M5_ATTR_OVERRIDE;
99
98 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
99 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
100
101 void drainResume() M5_ATTR_OVERRIDE;
102
103 public: // IO device interface
104 Tick read(PacketPtr pkt) M5_ATTR_OVERRIDE;
105 Tick write(PacketPtr pkt) M5_ATTR_OVERRIDE;

--- 270 unchanged lines hidden (view full) ---

376 const ssize_t linePitch;
377 const unsigned numLines;
378
379 Addr nextLineAddr;
380 Addr frameEnd;
381 };
382
383 std::unique_ptr<DmaEngine> dmaEngine;
100 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
101 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
102
103 void drainResume() M5_ATTR_OVERRIDE;
104
105 public: // IO device interface
106 Tick read(PacketPtr pkt) M5_ATTR_OVERRIDE;
107 Tick write(PacketPtr pkt) M5_ATTR_OVERRIDE;

--- 270 unchanged lines hidden (view full) ---

378 const ssize_t linePitch;
379 const unsigned numLines;
380
381 Addr nextLineAddr;
382 Addr frameEnd;
383 };
384
385 std::unique_ptr<DmaEngine> dmaEngine;
386
387 protected: // Statistics
388 struct {
389 Stats::Scalar underruns;
390 } stats;
384};
385
386#endif
391};
392
393#endif