tsunami_io.hh (7559:017baf09599f) tsunami_io.hh (7683:f81f5f27592b)
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;

--- 127 unchanged lines hidden (view full) ---

136
137 /**
138 * Clear a posted interrupt
139 * @param bitvector interrupt to clear
140 */
141 void clearPIC(uint8_t bitvector);
142
143 /**
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;

--- 127 unchanged lines hidden (view full) ---

136
137 /**
138 * Clear a posted interrupt
139 * @param bitvector interrupt to clear
140 */
141 void clearPIC(uint8_t bitvector);
142
143 /**
144 * Drain the io state including all associated events.
145 * @param drainEvent
146 */
147 unsigned int drain(Event *de);
148
149 /**
150 * Serialize this object to the given output stream.
151 * @param os The stream to serialize to.
152 */
153 virtual void serialize(std::ostream &os);
154
155 /**
156 * Reconstruct the state of this object from a checkpoint.
157 * @param cp The checkpoint use.
158 * @param section The section name of this object
159 */
160 virtual void unserialize(Checkpoint *cp, const std::string &section);
161
162};
163
164#endif // __DEV_TSUNAMI_IO_HH__
144 * Serialize this object to the given output stream.
145 * @param os The stream to serialize to.
146 */
147 virtual void serialize(std::ostream &os);
148
149 /**
150 * Reconstruct the state of this object from a checkpoint.
151 * @param cp The checkpoint use.
152 * @param section The section name of this object
153 */
154 virtual void unserialize(Checkpoint *cp, const std::string &section);
155
156};
157
158#endif // __DEV_TSUNAMI_IO_HH__