timing.hh (2869:4dbf4770df29) | timing.hh (2901:f9a45473ab55) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 123 unchanged lines hidden (view full) --- 132 133 public: 134 135 virtual Port *getPort(const std::string &if_name, int idx = -1); 136 137 virtual void serialize(std::ostream &os); 138 virtual void unserialize(Checkpoint *cp, const std::string §ion); 139 | 1/* 2 * Copyright (c) 2002-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; --- 123 unchanged lines hidden (view full) --- 132 133 public: 134 135 virtual Port *getPort(const std::string &if_name, int idx = -1); 136 137 virtual void serialize(std::ostream &os); 138 virtual void unserialize(Checkpoint *cp, const std::string §ion); 139 |
140 virtual bool drain(Event *drain_event); | 140 virtual unsigned int drain(Event *drain_event); |
141 virtual void resume(); | 141 virtual void resume(); |
142 virtual void setMemoryMode(State new_mode); | |
143 144 void switchOut(); 145 void takeOverFrom(BaseCPU *oldCPU); 146 147 virtual void activateContext(int thread_num, int delay); 148 virtual void suspendContext(int thread_num); 149 150 template <class T> --- 14 unchanged lines hidden --- | 142 143 void switchOut(); 144 void takeOverFrom(BaseCPU *oldCPU); 145 146 virtual void activateContext(int thread_num, int delay); 147 virtual void suspendContext(int thread_num); 148 149 template <class T> --- 14 unchanged lines hidden --- |