i8259.hh (11168:f98eb2da15a4) | i8259.hh (11175:2324ed5fa9f4) |
---|---|
1/* 2 * Copyright (c) 2004-2005 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; --- 75 unchanged lines hidden (view full) --- 84 const Params * 85 params() const 86 { 87 return dynamic_cast<const Params *>(_params); 88 } 89 90 I8259(Params * p); 91 | 1/* 2 * Copyright (c) 2004-2005 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; --- 75 unchanged lines hidden (view full) --- 84 const Params * 85 params() const 86 { 87 return dynamic_cast<const Params *>(_params); 88 } 89 90 I8259(Params * p); 91 |
92 Tick read(PacketPtr pkt); 93 Tick write(PacketPtr pkt); | 92 Tick read(PacketPtr pkt) override; 93 Tick write(PacketPtr pkt) override; |
94 95 void 96 maskAll() 97 { 98 IMR = 0xFF; 99 } 100 101 void 102 unmaskAll() 103 { 104 IMR = 0x00; 105 } 106 | 94 95 void 96 maskAll() 97 { 98 IMR = 0xFF; 99 } 100 101 void 102 unmaskAll() 103 { 104 IMR = 0x00; 105 } 106 |
107 void signalInterrupt(int line); 108 void raiseInterruptPin(int number); 109 void lowerInterruptPin(int number); | 107 void signalInterrupt(int line) override; 108 void raiseInterruptPin(int number) override; 109 void lowerInterruptPin(int number) override; |
110 int getVector(); 111 112 void serialize(CheckpointOut &cp) const override; 113 void unserialize(CheckpointIn &cp) override; 114}; 115 116} // namespace X86ISA 117 118#endif //__DEV_X86_I8259_HH__ | 110 int getVector(); 111 112 void serialize(CheckpointOut &cp) const override; 113 void unserialize(CheckpointIn &cp) override; 114}; 115 116} // namespace X86ISA 117 118#endif //__DEV_X86_I8259_HH__ |