io_device.hh (9090:e4e22240398f) io_device.hh (9294:8fb03b13de02)
1/*
2 * Copyright (c) 2012 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

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

122 {
123 return dynamic_cast<const Params *>(_params);
124 }
125
126 virtual void init();
127
128 virtual unsigned int drain(Event *de);
129
1/*
2 * Copyright (c) 2012 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

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

122 {
123 return dynamic_cast<const Params *>(_params);
124 }
125
126 virtual void init();
127
128 virtual unsigned int drain(Event *de);
129
130 virtual SlavePort &getSlavePort(const std::string &if_name, int idx = -1);
130 virtual BaseSlavePort &getSlavePort(const std::string &if_name,
131 PortID idx = InvalidPortID);
131
132 friend class PioPort;
133
134};
135
136class BasicPioDevice : public PioDevice
137{
138 protected:

--- 29 unchanged lines hidden ---
132
133 friend class PioPort;
134
135};
136
137class BasicPioDevice : public PioDevice
138{
139 protected:

--- 29 unchanged lines hidden ---