malta_io.hh (10631:6d6bfdb036ce) | malta_io.hh (10905:a6ca6831e775) |
---|---|
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; --- 116 unchanged lines hidden (view full) --- 125 126 127 /** Post an Interrupt to the CPU */ 128 void postIntr(uint8_t interrupt); 129 130 /** Clear an Interrupt to the CPU */ 131 void clearIntr(uint8_t interrupt); 132 | 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; --- 116 unchanged lines hidden (view full) --- 125 126 127 /** Post an Interrupt to the CPU */ 128 void postIntr(uint8_t interrupt); 129 130 /** Clear an Interrupt to the CPU */ 131 void clearIntr(uint8_t interrupt); 132 |
133 /** 134 * Serialize this object to the given output stream. 135 * @param os The stream to serialize to. 136 */ 137 virtual void serialize(std::ostream &os); | 133 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 134 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; |
138 139 /** | 135 136 /** |
140 * Reconstruct the state of this object from a checkpoint. 141 * @param cp The checkpoint use. 142 * @param section The section name of this object 143 */ 144 virtual void unserialize(Checkpoint *cp, const std::string §ion); 145 146 /** | |
147 * Start running. 148 */ 149 virtual void startup(); 150 151}; 152 153#endif // __DEV_MALTA_IO_HH__ | 137 * Start running. 138 */ 139 virtual void startup(); 140 141}; 142 143#endif // __DEV_MALTA_IO_HH__ |