1/* 2 * Copyright (c) 2008 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; --- 41 unchanged lines hidden (view full) --- 50 params() const 51 { 52 return dynamic_cast<const Params *>(_params); 53 } 54 55 I8237(Params *p) : BasicPioDevice(p, 16), latency(p->pio_latency), maskReg(0) 56 { 57 } |
58 Tick read(PacketPtr pkt) override; |
59 |
60 Tick write(PacketPtr pkt) override; |
61 62 void serialize(CheckpointOut &cp) const override; 63 void unserialize(CheckpointIn &cp) override; 64}; 65 66} // namespace X86ISA 67 68#endif //__DEV_X86_I8237_HH__ |