sim_object.hh (2901:f9a45473ab55) | sim_object.hh (3202:c095cfd0da96) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 50 unchanged lines hidden (view full) --- 59 std::string name; 60 }; 61 62 enum State { 63 Running, 64 Draining, 65 Drained 66 }; | 1/* 2 * Copyright (c) 2001-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; --- 50 unchanged lines hidden (view full) --- 59 std::string name; 60 }; 61 62 enum State { 63 Running, 64 Draining, 65 Drained 66 }; |
67 68 enum MemoryMode { 69 Invalid=0, 70 Atomic, 71 Timing 72 }; 73 |
|
67 private: 68 State state; 69 70 protected: 71 Params *_params; 72 73 void changeState(State new_state) { state = new_state; } 74 --- 64 unchanged lines hidden --- | 74 private: 75 State state; 76 77 protected: 78 Params *_params; 79 80 void changeState(State new_state) { state = new_state; } 81 --- 64 unchanged lines hidden --- |