iob.hh (11264:dc389d2d2f79) | iob.hh (11347:faf5195f6ca7) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 Iob(const Params *p); 128 129 const Params * 130 params() const 131 { 132 return dynamic_cast<const Params *>(_params); 133 } 134 | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 Iob(const Params *p); 128 129 const Params * 130 params() const 131 { 132 return dynamic_cast<const Params *>(_params); 133 } 134 |
135 virtual Tick read(PacketPtr pkt); 136 virtual Tick write(PacketPtr pkt); | 135 Tick read(PacketPtr pkt) override; 136 Tick write(PacketPtr pkt) override; |
137 void generateIpi(Type type, int cpu_id, int vector); 138 void receiveDeviceInterrupt(DeviceId devid); 139 bool receiveJBusInterrupt(int cpu_id, int source, uint64_t d0, 140 uint64_t d1); 141 | 137 void generateIpi(Type type, int cpu_id, int vector); 138 void receiveDeviceInterrupt(DeviceId devid); 139 bool receiveJBusInterrupt(int cpu_id, int source, uint64_t d0, 140 uint64_t d1); 141 |
142 AddrRangeList getAddrRanges() const; | 142 AddrRangeList getAddrRanges() const override; |
143 144 void serialize(CheckpointOut &cp) const override; 145 void unserialize(CheckpointIn &cp) override; 146}; 147 148#endif //__DEV_SPARC_IOB_HH__ 149 | 143 144 void serialize(CheckpointOut &cp) const override; 145 void unserialize(CheckpointIn &cp) override; 146}; 147 148#endif //__DEV_SPARC_IOB_HH__ 149 |