pl011.hh (10905:a6ca6831e775) pl011.hh (11168:f98eb2da15a4)
1/*
2 * Copyright (c) 2010-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

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

55class BaseGic;
56struct Pl011Params;
57
58class Pl011 : public Uart, public AmbaDevice
59{
60 public:
61 Pl011(const Pl011Params *p);
62
1/*
2 * Copyright (c) 2010-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

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

55class BaseGic;
56struct Pl011Params;
57
58class Pl011 : public Uart, public AmbaDevice
59{
60 public:
61 Pl011(const Pl011Params *p);
62
63 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
64 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
63 void serialize(CheckpointOut &cp) const override;
64 void unserialize(CheckpointIn &cp) override;
65
66 public: // PioDevice
65
66 public: // PioDevice
67 Tick read(PacketPtr pkt) M5_ATTR_OVERRIDE;
68 Tick write(PacketPtr pkt) M5_ATTR_OVERRIDE;
67 Tick read(PacketPtr pkt) override;
68 Tick write(PacketPtr pkt) override;
69
70 public: // Uart
69
70 public: // Uart
71 void dataAvailable() M5_ATTR_OVERRIDE;
71 void dataAvailable() override;
72
73
74 protected: // Interrupt handling
75 /** Function to generate interrupt */
76 void generateInterrupt();
77
78 /**
79 * Assign new interrupt values and update interrupt signals

--- 106 unchanged lines hidden ---
72
73
74 protected: // Interrupt handling
75 /** Function to generate interrupt */
76 void generateInterrupt();
77
78 /**
79 * Assign new interrupt values and update interrupt signals

--- 106 unchanged lines hidden ---