interrupts.hh (6379:75d4aaf7dd54) | interrupts.hh (10280:5b67e1bdf6ad) |
---|---|
1/* 2 * Copyright (c) 2007 MIPS Technologies, Inc. 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; --- 45 unchanged lines hidden (view full) --- 54 const Params * 55 params() const 56 { 57 return dynamic_cast<const Params *>(_params); 58 } 59 60 Interrupts(Params * p) : SimObject(p) 61 { | 1/* 2 * Copyright (c) 2007 MIPS Technologies, Inc. 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; --- 45 unchanged lines hidden (view full) --- 54 const Params * 55 params() const 56 { 57 return dynamic_cast<const Params *>(_params); 58 } 59 60 Interrupts(Params * p) : SimObject(p) 61 { |
62 newInfoSet = false; | |
63 } 64 65 void 66 setCPU(BaseCPU *_cpu) 67 {} 68 69 // post(int int_num, int index) is responsible 70 // for posting an interrupt. It sets a bit --- 51 unchanged lines hidden (view full) --- 122 fatal("Serialization of Interrupts Unimplemented for MIPS"); 123 } 124 125 void 126 unserialize(Checkpoint *cp, const std::string §ion) 127 { 128 fatal("Unserialization of Interrupts Unimplemented for MIPS"); 129 } | 62 } 63 64 void 65 setCPU(BaseCPU *_cpu) 66 {} 67 68 // post(int int_num, int index) is responsible 69 // for posting an interrupt. It sets a bit --- 51 unchanged lines hidden (view full) --- 121 fatal("Serialization of Interrupts Unimplemented for MIPS"); 122 } 123 124 void 125 unserialize(Checkpoint *cp, const std::string §ion) 126 { 127 fatal("Unserialization of Interrupts Unimplemented for MIPS"); 128 } |
130 131 private: 132 bool newInfoSet; 133 int newIpl; 134 int newSummary; | |
135}; 136 137} 138 139#endif 140 | 129}; 130 131} 132 133#endif 134 |